diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-06-11 00:43:21 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> | 2015-06-20 01:12:03 +0100 |
commit | c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4 (patch) | |
tree | bce4ba7c4be161e2bfb72242fd2ecf58d5b26dcf /slixmpp/basexmpp.py | |
parent | 8335c087823938c956c8141ad9280990e515c3ae (diff) | |
download | slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.tar.gz slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.tar.bz2 slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.tar.xz slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.zip |
Remove JID cache, to better test for performance.
Diffstat (limited to 'slixmpp/basexmpp.py')
-rw-r--r-- | slixmpp/basexmpp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/basexmpp.py b/slixmpp/basexmpp.py index f60ba560..80699319 100644 --- a/slixmpp/basexmpp.py +++ b/slixmpp/basexmpp.py @@ -57,12 +57,12 @@ class BaseXMPP(XMLStream): self.stream_id = None #: The JabberID (JID) requested for this connection. - self.requested_jid = JID(jid, cache_lock=True) + self.requested_jid = JID(jid) #: The JabberID (JID) used by this connection, #: as set after session binding. This may even be a #: different bare JID than what was requested. - self.boundjid = JID(jid, cache_lock=True) + self.boundjid = JID(jid) self._expected_server_name = self.boundjid.host self._redirect_attempts = 0 @@ -638,7 +638,7 @@ class BaseXMPP(XMLStream): def set_jid(self, jid): """Rip a JID apart and claim it as our own.""" log.debug("setting jid to %s", jid) - self.boundjid = JID(jid, cache_lock=True) + self.boundjid = JID(jid) def getjidresource(self, fulljid): if '/' in fulljid: |