we wait 45 for keepalive packages

This commit is contained in:
Yann Leboulanger 2005-05-22 17:24:20 +00:00
parent cbe8ad0d98
commit fe53843edb
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class Dispatcher(PlugIn):
iq = Iq('get', NS_LAST, to=self._owner.Server)
self.send(iq)
self._natSent = True
if time.time() > self._lastIncome + 90: #1 min + 30 sec pr rep
if time.time() > self._lastIncome + 105: #1 min + 45 sec for answer
self._owner.disconnected()
for handler in self._cycleHandlers: handler(self)
if self._owner.Connection.pending_data(timeout):