diff options
Diffstat (limited to 'plugins/reload')
-rw-r--r-- | plugins/reload/watcher.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/reload/watcher.go b/plugins/reload/watcher.go index 1b3407e5..421668b3 100644 --- a/plugins/reload/watcher.go +++ b/plugins/reload/watcher.go @@ -216,9 +216,8 @@ func (w *Watcher) waitEvent(d time.Duration) error { case <-ticker.C: // this is not very effective way // because we have to wait on Lock - // better is to listen files in parallel, but, since that would be used in debug... TODO + // better is to listen files in parallel, but, since that would be used in debug... for serviceName := range w.watcherConfigs { - // TODO sync approach fileList, _ := w.retrieveFileList(serviceName, w.watcherConfigs[serviceName]) w.pollEvents(w.watcherConfigs[serviceName].ServiceName, fileList) } |