From 58a53bd739e2deb6a10b3b3f788156b704ddd0b8 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Fri, 20 Nov 2020 07:36:08 -0800 Subject: [PATCH] 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 (https://github.com/facebook/flipper/commit/9b4e7e873c8b1b4500bbc22408b9bb7d92335f01), 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 --- desktop/app/src/server.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/app/src/server.tsx b/desktop/app/src/server.tsx index cbdec6c6f..236bffcb0 100644 --- a/desktop/app/src/server.tsx +++ b/desktop/app/src/server.tsx @@ -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},