diff options
author | Valery Piashchynski <[email protected]> | 2021-08-12 09:38:47 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-12 09:38:47 +0300 |
commit | bf2f7167ae49ecac981c7c18a9b9b496fd0a514c (patch) | |
tree | 9c5c11ab7984df0775d62553808fc95d395e20d5 /plugins/reload | |
parent | 2d460062c97f9ad1e793831c54ae4d177dea83e8 (diff) |
Made QoS production like
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/reload')
-rw-r--r-- | plugins/reload/plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/reload/plugin.go b/plugins/reload/plugin.go index 7e6bdfec..d3271d6c 100644 --- a/plugins/reload/plugin.go +++ b/plugins/reload/plugin.go @@ -117,7 +117,7 @@ func (s *Plugin) Serve() chan error { timer.Stop() // replace previous value in map by more recent without adding new one updated[cfg.service] = cfg.serviceConfig - // if we getting a lot of events, we shouldn't restart particular service on each of it (user doing batch move or very fast typing) + // if we are getting a lot of events, we shouldn't restart particular service on each of it (user doing batch move or very fast typing) // instead, we are resetting the timer and wait for s.cfg.Interval time // If there is no more events, we restart service only once timer.Reset(s.cfg.Interval) |