[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:
Bruceforce 2019-01-30 18:08:15 +01:00 committed by Koen Kanters
parent 99a29293dd
commit 8ffd7653ac

View File

@ -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.