Skip to content

Commit

Permalink
plugin: add lost rewatch sleep in plugin loop (pingcap#49292)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcwangchao committed Dec 8, 2023
1 parent d23e1c3 commit 899dfe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 899dfe8

Please sign in to comment.