diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-08-27 23:57:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 23:57:49 +0300 |
commit | 0bbad58c032b3e727e67ef7ceac7e2d4e1a75cee (patch) | |
tree | 564c3ac3b20a70b042d7c1cb19c420fbf03a490c | |
parent | 84b07e6e286ffa6db4f9f9d082e886e609bb6104 (diff) |
fix(python.d/nvidia_smi): repsect update_every for polling (#13579)
-rw-r--r-- | collectors/python.d.plugin/nvidia_smi/nvidia_smi.chart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/nvidia_smi/nvidia_smi.chart.py b/collectors/python.d.plugin/nvidia_smi/nvidia_smi.chart.py index 1913e94e40..76e28f2c18 100644 --- a/collectors/python.d.plugin/nvidia_smi/nvidia_smi.chart.py +++ b/collectors/python.d.plugin/nvidia_smi/nvidia_smi.chart.py @@ -450,7 +450,7 @@ class Service(SimpleService): self.order = list() self.definitions = dict() self.loop_mode = configuration.get('loop_mode', True) - poll = int(configuration.get('poll_seconds', 1)) + poll = int(configuration.get('poll_seconds', self.get_update_every())) self.exclude_zero_memory_users = configuration.get('exclude_zero_memory_users', False) self.poller = NvidiaSMIPoller(poll) |