Files
picoclaw/pkg
Hoshina 38a26d702c refactor(channels): add per-channel rate limiting and send retry with error classification
Define sentinel error types (ErrNotRunning, ErrRateLimit, ErrTemporary,
ErrSendFailed) so the Manager can classify Send failures and choose the
right retry strategy: permanent errors bail immediately, rate-limit
errors use a fixed 1s delay, and temporary/unknown errors use exponential
backoff (500ms→1s→2s, capped at 8s, up to 3 retries). A per-channel
token-bucket rate limiter (golang.org/x/time/rate) throttles outbound
sends before they hit the platform API.
2026-02-22 23:51:55 +08:00
..
2026-02-25 21:14:19 +11:00
2026-02-18 21:48:23 +02:00
2026-02-25 21:14:19 +11:00
2026-02-25 21:31:07 +11:00
2026-02-18 21:48:23 +02:00
2026-02-26 20:44:03 +11:00
2026-02-18 21:48:23 +02:00
2026-02-26 20:44:03 +11:00
2026-02-20 22:35:16 +02:00