bump timeout for wifiscanning - should only be in pair mode..
This commit is contained in:
+2
-1
@@ -86,7 +86,8 @@ export const makeSession = (
|
|||||||
let buf = create_P2pAlive();
|
let buf = create_P2pAlive();
|
||||||
session.send(buf);
|
session.send(buf);
|
||||||
}
|
}
|
||||||
if (delta > 5000) {
|
if (delta > 9000) {
|
||||||
|
// should depend on whether we are streaming video
|
||||||
logger.warning(`Camera ${session.devName} timed out`);
|
logger.warning(`Camera ${session.devName} timed out`);
|
||||||
session.eventEmitter.emit("disconnect");
|
session.eventEmitter.emit("disconnect");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user