plugin: add lost rewatch sleep in plugin loop (#49292)
ref pingcap/tidb#49273
This commit is contained in:
@ -289,6 +289,7 @@ func (w *flushWatcher) watchLoop() {
|
||||
"plugin flushWatcher old chan closed, restart loop later",
|
||||
zap.String("plugin", w.manifest.Name),
|
||||
zap.Duration("after", reWatchInterval))
|
||||
time.Sleep(reWatchInterval)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user