fix: 7 bugs — parse_mode, /removeplayer, SNo>300, fd leak, warmup sleep, warmup range, dupe print
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 6s
All checks were successful
CI/CD Pipeline / build-and-deploy (push) Successful in 6s
- cancel_sub: add parse_mode=MARKDOWN_V2 so users don't see literal backslashes
- /removeplayer: add CommandHandler that was advertised in /start but missing from handlers
- parse_standings: raise SNo limit 300→5000 to support large open tournaments
- call_bbp_with_checklist: close mkstemp fd to fix resource leak
- _warmup_cache_sync: make time.sleep(1.0) conditional on HTTP fetch, skip for cache hits
- _warmup_cache_sync: derive start_tnr from max(max_tnr_seen, max cached tnr) instead of hardcoded 1445000
- main: remove duplicate print('Client bot started') after blocking run_polling()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
77c8a87e16
commit
dd0dd5643d
4 changed files with 36 additions and 15 deletions
|
|
@ -150,6 +150,7 @@ def call_bbp_with_checklist(
|
|||
|
||||
# Also create temp file for checklist
|
||||
checklist_fd, checklist_path = tempfile.mkstemp(suffix='.txt')
|
||||
os.close(checklist_fd)
|
||||
|
||||
try:
|
||||
result = subprocess.run(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue