summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-06-16 15:38:48 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2010-06-16 16:15:02 +0100
commit0884d14b2be3dc6b2c992bd63bdfd76c3d6fcca1 (patch)
treeec95c43b8ca39e90065954630a989e074d980a24
parent0692f156df434142231f53f37dd03d87eab38ff1 (diff)
downloadtelepathy-mission-control-0884d14b2be3dc6b2c992bd63bdfd76c3d6fcca1.tar.gz
Attempt to reconnect less frequently.
The previous constants made MC really keen. Trying again after 1 second is fine if the CM crashed, but the normal situation is that the server fell over, or the network is broken, in which case 10 seconds, 30 seconds, 1½ minutes, 4½ minutes, 13½ minutes, then every half hour seems a lot more reasonable.
-rw-r--r--src/mcd-connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index ba96a9d7..14d0f0e6 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -75,8 +75,8 @@
#include "_gen/cli-Connection_Interface_Contact_Capabilities_Draft1-body.h"
#include "_gen/cli-Connection_Interface_Contact_Capabilities-body.h"
-#define INITIAL_RECONNECTION_TIME 1 /* 1 second */
-#define RECONNECTION_MULTIPLIER 2
+#define INITIAL_RECONNECTION_TIME 10 /* seconds */
+#define RECONNECTION_MULTIPLIER 3
#define MCD_CONNECTION_PRIV(mcdconn) (MCD_CONNECTION (mcdconn)->priv)