fix reminder tool issues: error on time overflow, optimize scheduler query
This commit is contained in:
parent
bc27113967
commit
24eec69418
4 changed files with 90 additions and 48 deletions
6
TODO.md
6
TODO.md
|
|
@ -10,8 +10,14 @@
|
|||
|
||||
- Handle text overflow → suggest file_path option for long messages
|
||||
- Per-agent reminder limits (burst capacity, rate limiting)
|
||||
- **File path delivery**: currently unused in scheduler delivery loop — implement file write/delivery to /state/<agent>/reminders/ or similar
|
||||
- **Orphan reminders**: handle partial failures (e.g. delivery succeeds but mark_reminder_sent fails) to avoid resending
|
||||
- **Unbounded batches**: implement per-cycle delivery limit so burst of 10k reminders doesn't flood the broker in one cycle
|
||||
- **Scheduler shutdown**: add graceful shutdown signal when coordinator is destroyed (currently runs forever)
|
||||
- **DB lock contention**: under high reminder volume, many concurrent mark_reminder_sent calls may serialize behind the Mutex lock — consider batch updates
|
||||
|
||||
## Dashboard
|
||||
|
||||
- Per-agent reminder status (pending, delivered)
|
||||
- Reminder query interface for debugging
|
||||
- Display reminder delivery errors (failed sends, mark failures)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue