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

Restore lag comp quota behavior #584

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

isaacl
Copy link
Member

@isaacl isaacl commented Oct 10, 2024

Lag comp quota is intended to build up each turn so that it can be used for spikes. The current code depletes quota on slow computers, and even for computers with cpu lag below .04s, quota builds too slowly to be able to be used for multiple spikes in a game.

This patch is intended to be a short term fix, with a significant code and documentation overhaul planned in the near future.

Lag comp quota is intended to build up each turn so that it can be used
for spikes.  The current code depletes quota on slow computers, and
even for computers with cpu lag below .04s, quota builds too slowly to
be able to be used for multiple spikes in a game.

This patch is intended to be a short term fix, with a significant
code and documentation overhaul planned in the near future.
@isaacl isaacl requested a review from ornicar October 10, 2024 15:26
@isaacl
Copy link
Member Author

isaacl commented Oct 10, 2024

cc @lenguyenthanh

@ornicar ornicar merged commit 532a414 into lichess-org:master Oct 11, 2024
3 checks passed
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.

2 participants