mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 02:48:31 -07:00
[devicePublish.js] Increase timeout (#974)
This should avoid a non-function state of the app when too many requests arrive at a specific time frame (e. g. turning a lot of lights out in the same time). See discussion in #362
This commit is contained in:
parent
99a29293dd
commit
8ffd7653ac
@ -172,7 +172,7 @@ class DevicePublish {
|
||||
}
|
||||
);
|
||||
|
||||
setTimeout(() => queueCallback(), 100);
|
||||
setTimeout(() => queueCallback(), 170);
|
||||
});
|
||||
|
||||
// It's possible for devices to get out of sync when writing an attribute that's not reportable.
|
||||
|
Loading…
Reference in New Issue
Block a user