The /client/imessage/send-queue/pending endpoint released up to 50 queued sends per poll, so an enqueued burst all fired at once. Add a configurable release cap: the endpoint now returns at most (maxSends − sent-in-window) queued items, so a burst queues and drips out at the configured rate. - macsync.send_rate_config single-row table, default max_sends=10, window_seconds=300 (10 per 5 min). - entities/send-queue repo: getSendRateConfig / setSendRateConfig / countSentWithin. - Admin control: GET/PUT /admin/send-rate-limit (service-token auth) so the cap is adjustable at runtime (wired to MCP via quinn.api separately). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Storage | ||
| Sync | ||
| Transport | ||
| Util | ||
| WebServer | ||