Skip to content
Snippets Groups Projects
Commit a6c27de1 authored by Erik Johnston's avatar Erik Johnston
Browse files

Don't time getDelayedCalls

parent ba5d34a8
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment