diff src/core/constants.py @ 1725:c1be6363bfab

core, plugin misc_account: set XMPP connection max retries to 0 when checking if an external account exists
author souliane <souliane@mailoo.org>
date Mon, 07 Dec 2015 19:56:12 +0100
parents f6533aa7da7a
children d17772b0fe22
line wrap: on
line diff
--- a/src/core/constants.py	Mon Dec 07 15:57:33 2015 +0100
+++ b/src/core/constants.py	Mon Dec 07 19:56:12 2015 +0100
@@ -38,6 +38,7 @@
     # Protocol
     XMPP_C2S_PORT = 5222
     XMPP_KEEP_ALIFE = 180
+    XMPP_MAX_RETRIES = 2
 
 
     ## Parameters ##