comparison src/core/constants.py @ 1211:9355f48f979e

core: move XMPP keep-alife value to the constants
author souliane <souliane@mailoo.org>
date Sun, 21 Sep 2014 13:06:53 +0200
parents 53037afd413e
children e6e0ea4dc835
comparison
equal deleted inserted replaced
1210:53037afd413e 1211:9355f48f979e
35 APP_URL = 'http://salut-a-toi.org' 35 APP_URL = 'http://salut-a-toi.org'
36 36
37 37
38 # Protocol 38 # Protocol
39 XMPP_C2S_PORT = 5222 39 XMPP_C2S_PORT = 5222
40 XMPP_KEEP_ALIFE = 180
40 41
41 42
42 ## Parameters ## 43 ## Parameters ##
43 NO_SECURITY_LIMIT = -1 44 NO_SECURITY_LIMIT = -1
44 INDIVIDUAL = "individual" 45 INDIVIDUAL = "individual"