Don't time getDelayedCalls

pull/4/merge
Erik Johnston 9 years ago
parent ba5d34a832
commit a6c27de1aa
  1. 2
      synapse/metrics/__init__.py

@ -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)

Loading…
Cancel
Save