Increase device detection timeout

Summary:
Attempt to fix https://fb.workplace.com/groups/1489943347777350/permalink/3388159547955711/

Overview of failures: https://www.internalfb.com/intern/daiquery/workspace/612628209459766/385682425880686/

Seems to have regressed since introducing D24858332 (9b4e7e873c), although only a few users are significantly impact, and beyond that it seems mostly one-off errors, which might indicate that the timing is a bit too tight.

Reviewed By: nikoant

Differential Revision: D25121853

fbshipit-source-id: a1b08a1b433c3db1aca3c1e6c6cc29a4c5b50f26
This commit is contained in:
Michel Weststrate
2020-11-20 07:36:08 -08:00
committed by Facebook GitHub Bot
parent 57745e0e98
commit 58a53bd739

View File

@@ -665,7 +665,7 @@ async function findDeviceForConnection(
const error = `Timed out waiting for device ${serial} for client ${clientId}`;
console.error(error);
reject(error);
}, 5000);
}, 15000);
unsubscribe = sideEffect(
store,
{name: 'waitForDevice', throttleMs: 100},