Commit 76090cdf authored by Philipp Hörist's avatar Philipp Hörist

Logger: Don't time method that does not query the database

parent e0bc8c92
......@@ -1682,7 +1682,6 @@ class Logger:
self._disco_info_cache[row.jid] = disco_info
log.info('%s DiscoInfo entrys loaded', len(rows))
@timeit
def get_last_disco_info(self, jid, max_age=0):
"""
Get last disco info from jid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment