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

Merge branch 'erikj/reactor_metrics' into erikj/dictionary_cache

parents c044aca1 a6c27de1
No related branches found
No related tags found
No related merge requests found
...@@ -158,8 +158,8 @@ def runUntilCurrentTimer(func): ...@@ -158,8 +158,8 @@ def runUntilCurrentTimer(func):
@functools.wraps(func) @functools.wraps(func)
def f(*args, **kwargs): def f(*args, **kwargs):
start = time.time() * 1000
pending_calls = len(reactor.getDelayedCalls()) pending_calls = len(reactor.getDelayedCalls())
start = time.time() * 1000
ret = func(*args, **kwargs) ret = func(*args, **kwargs)
end = time.time() * 1000 end = time.time() * 1000
tick_time.inc_by(end - start) 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