Skip to content

Commit

Permalink
Update recoverer to recover tasks on server startup
Browse files Browse the repository at this point in the history
  • Loading branch information
hibiken committed Jul 4, 2021
1 parent ff6768f commit f532c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recoverer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f532c95

Please sign in to comment.