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 GitHub
parent a157943bf7
commit ed2e1f23e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")