Skip to content

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

Merged
Askaholic merged 2 commits intoFAForever:developfrom
Askaholic:issue/#970-negative-pop-timer
Apr 21, 2024
Merged

Issue/#970 Prevent queue pop timer from becoming negative#1014
Askaholic merged 2 commits intoFAForever:developfrom
Askaholic:issue/#970-negative-pop-timer

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

@Askaholic Askaholic requested review from BlackYps and Sheikah45 April 20, 2024 15:27
@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
@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