Change timeout 1s -> 5s to reduce Timeout errors (#988)

This commit is contained in:
Maciej Mroziński 2020-09-11 08:25:12 +02:00 committed by peli
parent 0d7c1f0d50
commit 83bba14a4d

View File

@ -116,7 +116,7 @@ export class Ev3Wrapper {
if (this.dataDump)
log("TALK: " + U.toHex(buf))
return this.io.sendPacketAsync(buf)
.then(() => this.msgs.shiftAsync(1000))
.then(() => this.msgs.shiftAsync(5000))
.then(resp => {
if (resp[2] != buf[2] || resp[3] != buf[3])
U.userError("msg count de-sync")