plugin: add lost rewatch sleep in plugin loop (#49292)

ref pingcap/tidb#49273
This commit is contained in:
王超
2023-12-09 00:00:15 +08:00
committed by GitHub
parent d23e1c379a
commit 899dfe8a74

View File

@ -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)
}
}