Forgot to remove that
This commit is contained in:
parent
74117453b5
commit
e5af0597a6
@ -447,7 +447,6 @@ class XMLStream(object):
|
|||||||
def _remove_schedules(self, event):
|
def _remove_schedules(self, event):
|
||||||
"""Remove some schedules that become pointless when disconnected"""
|
"""Remove some schedules that become pointless when disconnected"""
|
||||||
self.cancel_schedule('Whitespace Keepalive')
|
self.cancel_schedule('Whitespace Keepalive')
|
||||||
self.cancel_schedule('Certificate Expiration')
|
|
||||||
self.cancel_schedule('Disconnect wait')
|
self.cancel_schedule('Disconnect wait')
|
||||||
|
|
||||||
def start_stream_handler(self, xml):
|
def start_stream_handler(self, xml):
|
||||||
@ -684,7 +683,6 @@ class XMLStream(object):
|
|||||||
try:
|
try:
|
||||||
cb()
|
cb()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.exception('Error processing scheduled task')
|
|
||||||
self.exception(e)
|
self.exception(e)
|
||||||
|
|
||||||
def _execute_and_reschedule(self, name, cb, seconds):
|
def _execute_and_reschedule(self, name, cb, seconds):
|
||||||
|
Loading…
Reference in New Issue
Block a user