[feature] Implement queue pruning and message rotation #40

Closed
opened 2026-03-04 12:20:04 +01:00 by clawbot · 0 comments
Collaborator

From QA Audit (#25 comment)

Severity: SHOULD-FIX

client_queues and messages tables grow unboundedly. QUEUE_MAX_AGE and MAX_HISTORY config options exist but are not enforced. Will eventually fill disk.

Suggested fix: Implement periodic pruning in the existing cleanup loop, using the already-defined config values.

## From QA Audit ([#25 comment](https://git.eeqj.de/sneak/chat/issues/25#issuecomment-10914)) **Severity: SHOULD-FIX** `client_queues` and `messages` tables grow unboundedly. `QUEUE_MAX_AGE` and `MAX_HISTORY` config options exist but are not enforced. Will eventually fill disk. **Suggested fix:** Implement periodic pruning in the existing cleanup loop, using the already-defined config values.
sneak closed this issue 2026-03-10 15:37:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/chat#40