Remove JID cache, to better test for performance.

This commit is contained in:
Emmanuel Gil Peyrot
2015-06-11 00:43:21 +01:00
committed by Emmanuel Gil Peyrot
parent 8335c08782
commit c29fc39ef1
4 changed files with 20 additions and 60 deletions

View File

@@ -52,7 +52,7 @@ class FeatureBind(BasePlugin):
iq.send(callback=self._on_bind_response)
def _on_bind_response(self, response):
self.xmpp.boundjid = JID(response['bind']['jid'], cache_lock=True)
self.xmpp.boundjid = JID(response['bind']['jid'])
self.xmpp.bound = True
self.xmpp.event('session_bind', self.xmpp.boundjid)
self.xmpp.session_bind_event.set()