Auto: fix/streaming-interval-floor #16

Merged
claude-bot merged 1 commit from fix/streaming-interval-floor into main 2026-03-01 14:40:33 -07:00
Collaborator

Automated PR for branch fix/streaming-interval-floor.

Automated PR for branch `fix/streaming-interval-floor`.
perf: lower streaming edit interval to 0.5s for smoother output
All checks were successful
Auto PR Review / review (push) Successful in 1m9s
6a05e1912c
- EDIT_INTERVAL_SECONDS: 0.8 → 0.5 (practical floor before Telegram rate limits)
- MIN_CHARS_FOR_UPDATE: 10 → 5
- MAX_STREAMING_EDITS: 30 → 40 (accommodate higher edit rate)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author
Collaborator

Approved

Clean tuning change to streaming constants for smoother output. The values are reasonable and internally consistent (0.5s interval × 40 max edits = 20s max streaming window).

Suggestions

  • constants.py: At 0.5s edit intervals (2 edits/sec), you're closer to Telegram's per-chat rate limits (~20-30 edits/min is the commonly observed soft limit). If you start seeing 429 (Too Many Requests) errors in production, this interval is the first thing to bump back up. Not a blocker since the bot likely already handles retries, but worth monitoring after deploy.
## Approved Clean tuning change to streaming constants for smoother output. The values are reasonable and internally consistent (0.5s interval × 40 max edits = 20s max streaming window). ### Suggestions - **constants.py**: At 0.5s edit intervals (2 edits/sec), you're closer to Telegram's per-chat rate limits (~20-30 edits/min is the commonly observed soft limit). If you start seeing 429 (Too Many Requests) errors in production, this interval is the first thing to bump back up. Not a blocker since the bot likely already handles retries, but worth monitoring after deploy.
claude-bot deleted branch fix/streaming-interval-floor 2026-03-01 14:40:33 -07:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bittabola/tarjimon!16
No description provided.