diff options
author | Valery Piashchynski <[email protected]> | 2021-04-30 16:04:55 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-30 16:04:55 +0300 |
commit | 556477ca9df3fa2e5939057861314eabe5ce30ca (patch) | |
tree | 6bab1f99aa83c794060ab4c913d5ff62fef6882d /plugins/reload | |
parent | 5f451ffbba6b9758d61ba70ddd112a8e1570045a (diff) |
- Make development log colored
- Remove old TODOs
Signed-off-by: Valery Piashchynski <[email protected]>
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) } |