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

Add 12 hour cooldown for daily top lb user updates #62

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

Syriiin
Copy link
Owner

@Syriiin Syriiin commented Jun 2, 2024

Why?

This will prevent multiple daily updates occuring for the same users if they appear in multiple leaderboards

Changes

  • Add cooldown_seconds param for update_user()
  • Set cooldown_seconds arg for daily top leaderboard user update task to 12 hours

This will prevent multiple daily updates occuring for the same users if
they appear in multiple leaderboards
@Syriiin Syriiin merged commit 915cb7a into master Jun 2, 2024
3 checks passed
@Syriiin Syriiin deleted the daily-update-cooldown branch June 2, 2024 15:55
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.

1 participant