Commit 6a5dc70
fix(telegram): increase default refresh window from 5 to 15 minutes
The 5-minute default matched the CGM read interval exactly, so any
timing jitter or processing delay caused the second reading to miss the
window and post a fresh message instead of editing the bubble.
15 minutes aligns the window with the missed-reading threshold:
readings that arrive before the missed alert always edit in-place;
only after 15+ minutes of silence does the next reading start a fresh
bubble. Migrate any existing stored value of 5 on load.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7e2d629 commit 6a5dc70
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
608 | 611 | | |
609 | 612 | | |
610 | 613 | | |
| |||
0 commit comments