FAForever / FAForever/server

Queue pop timer rate calculation is wrong

Offen
#1,015 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
72
Forks
84
Ø Merge
5 Std. 11 Min.
Gemergte PRs (30 T.)
1

Beschreibung

See #970

The queue time is supposed to be calculated by looking at the current rate at which players are joining the queue and extrapolating that into the future to predict how much time needs to pass until the desired number of players are in the queue. However, the calculation for the current queue rate is too high as it assumes players are leaving the queue and re-joining between each pop. The code should be rewritten to look at the difference between number of players in queue from when the last pop happened.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.