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

Issue/#970 Prevent queue pop timer from becoming negative #1014

Merged
merged 2 commits into from
Apr 21, 2024

Conversation

Askaholic
Copy link
Collaborator

This adds a quick fix to prevent the timer from going negative by adding a minimum pop time to the config as well. Ideally the queue rate calculation should be fixed as well in a separate PR.

Closes #970

@BlackYps
Copy link
Collaborator

Is five seconds enough to allow recovery of the timer or will it stay stuck on the five seconds?

@Askaholic
Copy link
Collaborator Author

Good question. I think it depends on how many players are in the queue. If the number of players in the queue stays the same or increases then the timer will continue to be stuck at the minimum. I’m not sure what that number has to be though.

@BlackYps
Copy link
Collaborator

15 seconds sounds like a reasonable minimum to me, even if it stays stuck at this for some time.
5 seconds is very low

@Askaholic
Copy link
Collaborator Author

Fine with me

@Askaholic Askaholic force-pushed the issue/#970-negative-pop-timer branch from a4fffdc to dde9b46 Compare April 20, 2024 16:16
@Askaholic Askaholic force-pushed the issue/#970-negative-pop-timer branch from dde9b46 to cae8998 Compare April 21, 2024 16:22
@Askaholic Askaholic merged commit 61750e4 into FAForever:develop Apr 21, 2024
8 checks passed
@Askaholic Askaholic deleted the issue/#970-negative-pop-timer branch April 21, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TMM queue pop timer can march to negative infinity
3 participants