mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05: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 New Issue
Block a user