Add 50ms delay between temp sensor reads

This commit is contained in:
Søren Rasmussen 2022-07-29 00:46:32 +02:00
parent 017ac159de
commit b94f3aefbb

View file

@ -171,6 +171,8 @@ func readSensors(hub *sentry.Hub) {
Set(tw)
metrics.TemperatureSensorReadingStatus.WithLabelValues(sensor.Name, "ok").Inc()
time.Sleep(50 * time.Millisecond)
}
// Throw away reading if any sensor failed