|
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 4s
check_all_subscriptions: always call update_round even for the final round. Previously, last_round_done was never updated past the second-to-last round (because pairings aren't calculated for the last round). This kept quick_rd > last_round_done forever on finished tournaments, triggering a full fetch (~22 HTTP requests) every 5 minutes — causing 26k+ daily requests to chess-results.com against a 2000-request daily limit. rescan_existing_tournaments: when correcting player_sno, also reset last_results_count to 0. Stale counts from a wrong player (from the FIDE ID parsing bug) could be higher than the real player's count, permanently suppressing result notifications for the correct player. DB patched directly: last_results_count reset to 0 for subs 40 (Vrubel) and 47 (Aslanbekov) so they re-learn correct scores on next fetch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin_bot.py | ||
| client_bot.py | ||
| stats.py | ||
| tracker.py | ||