diff options
author | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-01-07 11:41:15 +0000 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-01-07 11:41:15 +0000 |
commit | 6b6122d63274643a1c1fb3bea468f608d811c4ef (patch) | |
tree | 77de7fcb4ccba388355729d4435d1b1e57a4a010 | |
parent | Use a nasty wrapper class (diff) | |
download | synapse-6b6122d63274643a1c1fb3bea468f608d811c4ef.tar.xz |
Whoops
-rw-r--r-- | synapse/storage/database.py | 2 |
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) |