mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #650] How to ensure that the tasks in redis will not be lost after the service stops for a long time #322
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#322
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 @fms5cmS on GitHub (Apr 30, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/650
When i stop my server a long time, the tasks in redis lost, and tell me "[queue](asynq: queue not found)".
Do i need some config for this ?
@kamikazechaser commented on GitHub (May 3, 2023):
Are you persisting your redis data between restarts?
@fms5cmS commented on GitHub (May 8, 2023):
I just restarted my server by
kill -15 servernot Redis, so I do not need to persist Redis data.Is the problem that I put the asynq server and client in the same application which I restarted?
@kamikazechaser commented on GitHub (May 8, 2023):
You need to persist redis data if you want don't want to lose tasks. Start your redis server with
redis-server --save 60 1 --loglevel warning.@ioannidesalex commented on GitHub (Jul 8, 2023):
That's not really an issue with asynq.