Is your feature request related to a problem? Please describe.
In elastic/kibana#48035 we introduced a very high constant value to ensure we chunk up all the monitors while counting them. It would be cleaner to patch the iterator code itself so we don't have to maintain this weird constant default.
Describe the solution you'd like
Remove the existing constant value and have the iterator support an infinite size option.
Describe alternatives you've considered
We've implemented the alternative solution.
Additional context
N/A
Is your feature request related to a problem? Please describe.
In elastic/kibana#48035 we introduced a very high constant value to ensure we chunk up all the monitors while counting them. It would be cleaner to patch the iterator code itself so we don't have to maintain this weird constant default.
Describe the solution you'd like
Remove the existing constant value and have the iterator support an
infinitesize option.Describe alternatives you've considered
We've implemented the alternative solution.
Additional context
N/A