mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #1081] how to delete Recent History Enqueued in scheduler? #522
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#522
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 @seth-shi on GitHub (Oct 21, 2025).
Original GitHub issue: https://github.com/hibiken/asynq/issues/1081
this place show Recent History Enqueued, but if have to many(100M), how to delete it?
@thomas4019 commented on GitHub (Nov 10, 2025):
Hi @seth-shi, as explained in the Task Retention and Result, you can use asynq.Retention to choose low long a task should be kept in the recent history, to avoid having that happen.
For getting rid of the data already in there you can use some of the options on https://pkg.go.dev/github.com/hibiken/asynq#Inspector or you could stop enqueing new tasks, finish everything, clear your redis and then start up again