[GH-ISSUE #910] [Question] the key " asynq:{default}:t:896da8b6-b489-429c-9f8b-cd0bdc9b7592 " will be store in redis forever ? #2478

Closed
opened 2026-03-15 20:37:15 +03:00 by kerem · 1 comment
Owner

Originally created by @hachi-zzq on GitHub (Aug 26, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/910

Originally assigned to: @hibiken on GitHub.

hi, i see many keys like asynq:{default}:t:896da8b6-b489-429c-9f8b-cd0bdc9b7592 in my redis , and these keys' TTL is null , so my question is :
these keys will be store in redis forever ? I am afraid that endless growth will cause redis memory overflow and affect the operation of the program. @hibiken

Originally created by @hachi-zzq on GitHub (Aug 26, 2024). Original GitHub issue: https://github.com/hibiken/asynq/issues/910 Originally assigned to: @hibiken on GitHub. hi, i see many keys like asynq:{default}:t:896da8b6-b489-429c-9f8b-cd0bdc9b7592 in my redis , and these keys' TTL is null , so my question is : these keys will be store in redis forever ? I am afraid that endless growth will cause redis memory overflow and affect the operation of the program. @hibiken
kerem 2026-03-15 20:37:15 +03:00
Author
Owner

@pior commented on GitHub (Oct 31, 2024):

Those keys are deleted when the task is done: https://github.com/hibiken/asynq/blob/master/internal/rdb/rdb.go#L325-L327

<!-- gh-comment-id:2449428488 --> @pior commented on GitHub (Oct 31, 2024): Those keys are deleted when the task is done: https://github.com/hibiken/asynq/blob/master/internal/rdb/rdb.go#L325-L327
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#2478
No description provided.