slow down device poller
This commit is contained in:
parent
1bbf8a4473
commit
5344717749
@ -121,7 +121,7 @@ namespace sensors.internal {
|
|||||||
|
|
||||||
powerMM = control.mmap("/dev/lms_power", 2, 0)
|
powerMM = control.mmap("/dev/lms_power", 2, 0)
|
||||||
|
|
||||||
devPoller = new Poller(250, () => { return hashDevices(); },
|
devPoller = new Poller(500, () => { return hashDevices(); },
|
||||||
(prev, curr) => {
|
(prev, curr) => {
|
||||||
detectDevices();
|
detectDevices();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user