summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-11-08 14:35:26 +0000
committerErik Johnston <erik@matrix.org>2021-11-08 14:35:26 +0000
commitf2d2842f560fb1587769312506e5a3bf807e202e (patch)
tree79e9892fbf1b67460a2178e642e309ea871e77d3
parentFixup (diff)
downloadsynapse-f2d2842f560fb1587769312506e5a3bf807e202e.tar.xz
Fixup
-rw-r--r--synapse/metrics/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/__init__.py b/synapse/metrics/__init__.py
index 98db75192e..aec18c5a5d 100644
--- a/synapse/metrics/__init__.py
+++ b/synapse/metrics/__init__.py
@@ -602,7 +602,7 @@ def callFromThreadTimer(func):
 
             return r
 
-        func(g, args, kwargs)
+        func(g, *args, **kwargs)
 
     return callFromThread