From c2205ca5fe0c8ab3e8ded4a5dbaed95fd02d4edc Mon Sep 17 00:00:00 2001 From: siepra Date: Fri, 12 Apr 2024 11:56:57 +0200 Subject: [PATCH] chore: increase timeouts --- packages/mobile/e2e/utils/consts/timeouts.js | 2 +- packages/mobile/ios/Quiet/AppDelegate.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mobile/e2e/utils/consts/timeouts.js b/packages/mobile/e2e/utils/consts/timeouts.js index f4bcf26440..9bdfda887e 100644 --- a/packages/mobile/e2e/utils/consts/timeouts.js +++ b/packages/mobile/e2e/utils/consts/timeouts.js @@ -1,3 +1,3 @@ export const BASIC = 5000 export const LONG = 20000 -export const STARTUP = 90000 +export const STARTUP = 120000 diff --git a/packages/mobile/ios/Quiet/AppDelegate.m b/packages/mobile/ios/Quiet/AppDelegate.m index 8ec99a5224..017f61afb9 100644 --- a/packages/mobile/ios/Quiet/AppDelegate.m +++ b/packages/mobile/ios/Quiet/AppDelegate.m @@ -51,7 +51,7 @@ - (void) initWebsocketConnection { * Delay used below can't cause any race condition as websocket won't connect until data server starts listening anyway. */ dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{ - NSTimeInterval delayInSeconds = 70; + NSTimeInterval delayInSeconds = 90; dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC)); dispatch_after(popTime, dispatch_get_main_queue(), ^(void) { [[self.bridge moduleForName:@"CommunicationModule"] sendDataPortWithPort:self.dataPort socketIOSecret:self.socketIOSecret];