- Community aggregator
- Country: United States
Auditable Node.js Cron Cleanup: Expired Sessions, Tokens, Queues, Redis TTL, Webhooks
Short answer: use a cron trigger to create a bounded cleanup job, let a queue consumer process it in small PostgreSQL transactions, and make the database receipt the authority for completion. Redis TTL can remove a second lookup path, but it should not be the only record when a customer-support…