mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #847] [QUESTION] How to delete tasks that have been archived and are not in the "asynq:{default}:archived" zset? #414
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#414
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ancxk on GitHub (Mar 19, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/847
Originally assigned to: @hibiken on GitHub.
Our project doesn't need to keep track of archived task lists.
Due to lack of cleanup previously, there are already 2 million records of archived tasks with keys like 'asynq:{default}:t:*'.
The provided
Inspector.DeleteAllArchivedTasks()function can only delete tasks associated with 'asynq:{default}:archived' zset, which has a maximum of 9999 entries.Is it only to manually scan and delete archived tasks that are not listed in 'asynq:{default}:archived'?"
@Ancxk commented on GitHub (Mar 19, 2024):
i used the version v0.24.0
@Ancxk commented on GitHub (Mar 19, 2024):
I have already seen the contents of v0.25.0 Release watch,It will be resolved. I am looking forward to it.https://github.com/hibiken/asynq/issues/811
@cobain commented on GitHub (Aug 4, 2024):
I met the same issue about archived task, which has 9999 entries currently. we need a way to delete them.