From b3a4a20216f8235d2882d97a1f6e0b0c884a2296 Mon Sep 17 00:00:00 2001 From: Frederic Jacobs Date: Thu, 12 Mar 2015 00:58:04 +0100 Subject: [PATCH] Tuning WebSocket heart beat to 30s. --- Signal/src/textsecure/Network/WebSockets/TSSocketManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signal/src/textsecure/Network/WebSockets/TSSocketManager.m b/Signal/src/textsecure/Network/WebSockets/TSSocketManager.m index eacaaa2eb91..2fec82864db 100644 --- a/Signal/src/textsecure/Network/WebSockets/TSSocketManager.m +++ b/Signal/src/textsecure/Network/WebSockets/TSSocketManager.m @@ -19,7 +19,7 @@ #import "Cryptography.h" #import "IncomingPushMessageSignal.pb.h" -#define kWebSocketHeartBeat 15 +#define kWebSocketHeartBeat 30 #define kWebSocketReconnectTry 5 NSString * const SocketOpenedNotification = @"SocketOpenedNotification";