mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 02:03:51 +01:00
Remove unnecessary logging
This commit is contained in:
parent
794fe2ca45
commit
f8abbae99f
1 changed files with 1 additions and 6 deletions
|
@ -72,11 +72,7 @@ class StateHandler(object):
|
||||||
self._state_cache = {}
|
self._state_cache = {}
|
||||||
|
|
||||||
def f():
|
def f():
|
||||||
logger.debug("Pruning")
|
|
||||||
try:
|
|
||||||
self._prune_cache()
|
self._prune_cache()
|
||||||
except:
|
|
||||||
logger.exception("Prune")
|
|
||||||
|
|
||||||
self.clock.looping_call(f, 5*1000)
|
self.clock.looping_call(f, 5*1000)
|
||||||
|
|
||||||
|
@ -400,7 +396,6 @@ class StateHandler(object):
|
||||||
return sorted(events, key=key_func)
|
return sorted(events, key=key_func)
|
||||||
|
|
||||||
def _prune_cache(self):
|
def _prune_cache(self):
|
||||||
logger.debug("_prune_cache")
|
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"_prune_cache. before len: %d",
|
"_prune_cache. before len: %d",
|
||||||
len(self._state_cache.keys())
|
len(self._state_cache.keys())
|
||||||
|
|
Loading…
Reference in a new issue