mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +00:00
I've seen people complain about Sleek taking so long to disconnect.
Added logging to say that we're waiting for the server to end the stream from its end.
This commit is contained in:
parent
331db30f8f
commit
9fdd85d9f1
1 changed files with 1 additions and 0 deletions
|
@ -461,6 +461,7 @@ class XMLStream(object):
|
||||||
# Wait for confirmation that the stream was
|
# Wait for confirmation that the stream was
|
||||||
# closed in the other direction.
|
# closed in the other direction.
|
||||||
self.auto_reconnect = reconnect
|
self.auto_reconnect = reconnect
|
||||||
|
log.debug('Waiting for %s from server' % self.stream_footer)
|
||||||
self.stream_end_event.wait(4)
|
self.stream_end_event.wait(4)
|
||||||
if not self.auto_reconnect:
|
if not self.auto_reconnect:
|
||||||
self.stop.set()
|
self.stop.set()
|
||||||
|
|
Loading…
Reference in a new issue