2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-11-10 11:31:58 +08:00

Update recoverer to recover tasks on server startup

This commit is contained in:
Ken Hibino 2021-07-04 06:21:56 -07:00
parent ff6768f9bb
commit f532c95394

View File

@ -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 {