Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load limit presets should not overlap on max agents #1858

Closed
joshdover opened this issue Sep 13, 2022 · 4 comments · Fixed by #1891
Closed

Load limit presets should not overlap on max agents #1858

joshdover opened this issue Sep 13, 2022 · 4 comments · Fixed by #1891
Assignees
Labels
bug Something isn't working Project:FleetScaling

Comments

@joshdover
Copy link
Contributor

joshdover commented Sep 13, 2022

Our presets currently overlap by 1 which ends up in having unexpected behavior if you configure max agents to a value like 30000. In this case you'll end up using the 12,500 - 30,000 presets rather than the >= 30000 preset:

Using system limits for 12500 to 30000 agents for a configured value of 30000 agents

You can see how the bug presents itself:

This is sort of related to:

@joshdover joshdover added bug Something isn't working Project:FleetScaling labels Sep 13, 2022
@joshdover
Copy link
Contributor Author

For now we could probably solve this easily by just changing the min on each preset to be one less than the max on the next preset

@blakerouse
Copy link
Contributor

I am working on #1841, I will take this one as well.

@blakerouse blakerouse self-assigned this Sep 13, 2022
@blakerouse
Copy link
Contributor

I went with lowering the max by 1 in each default. That way if the number is 30000 you get the higher limits.

@jlind23
Copy link
Contributor

jlind23 commented Sep 21, 2022

I went with lowering the max by 1 in each default. That way if the number is 30000 you get the higher limits.
@blakerouse is this something you have done already?

Otherwise I created a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Project:FleetScaling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants