From 6dbc7fd9bca160f3f20ba6ebeca8baed3a6a6093 Mon Sep 17 00:00:00 2001 From: joss17 Date: Mon, 4 Jan 2010 13:05:28 +0000 Subject: [PATCH] change hearbeat period to 6 secons. Disconnect when no beat is received after 18 sec git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1970 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/pqiperson.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/pqiperson.h b/libretroshare/src/pqi/pqiperson.h index cd7bb7210..ea6176307 100644 --- a/libretroshare/src/pqi/pqiperson.h +++ b/libretroshare/src/pqi/pqiperson.h @@ -41,7 +41,7 @@ static const int CONNECT_UNREACHABLE = 3; static const int CONNECT_FIREWALLED = 4; static const int CONNECT_FAILED = 5; -static const int HEARTBEAT_REPEAT_TIME = 4; +static const int HEARTBEAT_REPEAT_TIME = 6; #include "pqi/pqistreamer.h"