[FEATURE REQUEST] Set TTL on scheduler_history key
Author: xuyang2Created Jul 13, 2022Updated Jul 22, 2026
Labelsbug
Is your feature request related to a problem? Please describe.
If the process is kill -9, or if for whatever reasons Scheduler.Shutdown() fails to execute,
or if RDB.ClearSchedulerHistory() failed, the SchedulerHistoryKey will stay in redis forever.
Describe the solution you'd like
Set TTL on SchedulerHistoryKey key, like 3 months?
Source: hibiken/asynq