summary refs log tree commit diff
path: root/synapse/storage/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/database.py')
-rw-r--r--synapse/storage/database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py

index f713efbf90..bdffa72c88 100644 --- a/synapse/storage/database.py +++ b/synapse/storage/database.py
@@ -110,7 +110,7 @@ def make_pool( class NastyConnectionWrapper: def __init__(self, connection): self._connection = connection - self.commit = trace(conn.commit, "db.conn.commit") + self.commit = trace(connection.commit, "db.conn.commit") def __getattr__(self, item): return self._connection.__getattr__(item)