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
|
|
@ -120,7 +120,7 @@ def parse_standings(html: str) -> List[Dict]:
|
|||
continue
|
||||
|
||||
sno = int(texts[0])
|
||||
if sno < 1 or sno > 300:
|
||||
if sno < 1 or sno > 5000:
|
||||
continue
|
||||
|
||||
# Find name: look for player name (Latin or Cyrillic)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue