mirror of
https://github.com/minio/minio
synced 2024-09-06 00:37:25 +00:00
fix: throttling of events during their replay (#9188)
This commit is contained in:
parent
ff932ca2a0
commit
e7a0be5bd3
|
@ -112,9 +112,10 @@ func sendEvents(target event.Target, eventKeyCh <-chan string, doneCh <-chan str
|
|||
loggerOnce(context.Background(),
|
||||
fmt.Errorf("target.Send() failed with '%w'", err),
|
||||
target.ID())
|
||||
continue
|
||||
}
|
||||
|
||||
// Retrying after 3secs back-off
|
||||
|
||||
select {
|
||||
case <-retryTicker.C:
|
||||
case <-doneCh:
|
||||
|
|
Loading…
Reference in a new issue