We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d9831 commit 9ad96e6Copy full SHA for 9ad96e6
collector/pkg/collector/metrics.go
@@ -93,7 +93,7 @@ func (mc *MetricsCollector) Run() error {
93
mc.Collect(device.WWN, device.DeviceName, device.DeviceType)
94
95
if mc.config.GetInt("commands.metrics_smartctl_wait") > 0 {
96
- time.Sleep(time.Duration(mc.config.GetInt("commands.metrics_smartctl_wait")) * 1000 * time.Millisecond)
+ time.Sleep(time.Duration(mc.config.GetInt("commands.metrics_smartctl_wait")) * time.Second)
97
}
98
99
0 commit comments