mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-26 07:42:17 +08:00
Update recoverer to recover tasks on server startup
This commit is contained in:
parent
ff6768f9bb
commit
f532c95394
@ -57,6 +57,7 @@ func (r *recoverer) start(wg *sync.WaitGroup) {
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
r.recover()
|
||||
timer := time.NewTimer(r.interval)
|
||||
for {
|
||||
select {
|
||||
|
Loading…
Reference in New Issue
Block a user