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

RankRestrictions: add stats caching #324

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Conversation

SergeyShorokhov
Copy link
Collaborator

@SergeyShorokhov SergeyShorokhov added the bug Something isn't working label Dec 18, 2023
@SergeyShorokhov SergeyShorokhov added this to the 📝 Release v1.9 milestone Dec 18, 2023
@SergeyShorokhov SergeyShorokhov self-assigned this Dec 18, 2023
@Nord1cWarr1or
Copy link
Collaborator

У меня вообще несколько иная задумка была, когда игрок первый раз проверяется, если ему разрешён чат по условиям, то это состояние кешируется, и больше игрок не проверяется вообще, до следующей карты. А те, кому чат не доступен, проверяются дальше.
Но твой вариант наверное лучше, или вообще их можно скомбинировать

@SergeyShorokhov
Copy link
Collaborator Author

@Nord1cWarr1or мой ленивее и проще, не скушает производительность

@SergeyShorokhov SergeyShorokhov merged commit 46e64ab into master Dec 19, 2023
2 checks passed
@SergeyShorokhov SergeyShorokhov deleted the bug/csstats-heavy-load branch December 19, 2023 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

CsStats MySQL loads the server when used with RankRestrictions
2 participants