Skip to content

Commit

Permalink
test: significantly increase initial delay
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Apr 9, 2024
1 parent 0442560 commit 7333480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mobile/ios/Quiet/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 30;
NSTimeInterval delayInSeconds = 70;
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];
Expand Down

0 comments on commit 7333480

Please sign in to comment.