Skip to content

Commit

Permalink
remove initial delay from retry
Browse files Browse the repository at this point in the history
  • Loading branch information
woutslakhorst committed Aug 11, 2023
1 parent a2b1c6f commit 03361da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions network/dag/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@ func (p *notifier) retry(event Event) {
}

go func(ctx context.Context) {
// also an initial delay
time.Sleep(delay)
err := retry.Do(func() error {
return p.notifyNow(event)
},
Expand Down

0 comments on commit 03361da

Please sign in to comment.