From 5d628b3a81ed17a8383b3838137fa7f52583a7d8 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Fri, 13 May 2022 12:31:06 -0400 Subject: [PATCH] Use timeoutInterval in ms --- app/actions/remote/general.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/remote/general.ts b/app/actions/remote/general.ts index 28fa60e21..a3c816446 100644 --- a/app/actions/remote/general.ts +++ b/app/actions/remote/general.ts @@ -36,7 +36,7 @@ async function getDeviceIdForPing(serverUrl: string, checkDeviceId: boolean) { } // Default timeout interval for ping is 5 seconds -export const doPing = async (serverUrl: string, verifyPushProxy: boolean, timeoutInterval = 5) => { +export const doPing = async (serverUrl: string, verifyPushProxy: boolean, timeoutInterval = 5000) => { let client: Client; try { client = await NetworkManager.createClient(serverUrl);