Commit 01ea0c7
fix(telegram): restore transient retry with throttle-based recipient filtering
The previous commit was modified by the pre-commit hook and lost two
critical pieces: the transient-error retry scheduling and the raised
throttle constant.
This commit restores both:
- TRANSIENT_RETRY_DELAY_MS = 60 s (retry interval on network failure)
- STALE_THROTTLE_MS = 70 s (> retry interval, so a recipient that just
posted STALE is throttled on the 60 s retry cycle but re-evaluated
when the missed-threshold timer fires minutes later)
- null branch reschedules at TRANSIENT_RETRY_DELAY_MS instead of
silently dropping the notification
No retryFor/scheduleInternal — all recipients are re-evaluated on every
invocation; the throttle naturally suppresses recently-succeeded ones.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0bd1f7a commit 01ea0c7
1 file changed
Lines changed: 5 additions & 5 deletions
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments