0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 20:23:52 +01:00

Don't time getDelayedCalls

This commit is contained in:
Erik Johnston 2015-08-13 11:41:57 +01:00
parent ba5d34a832
commit a6c27de1aa

View file

@ -158,8 +158,8 @@ def runUntilCurrentTimer(func):
@functools.wraps(func)
def f(*args, **kwargs):
start = time.time() * 1000
pending_calls = len(reactor.getDelayedCalls())
start = time.time() * 1000
ret = func(*args, **kwargs)
end = time.time() * 1000
tick_time.inc_by(end - start)