diff options
author | Erik Johnston <erik@matrix.org> | 2014-10-28 11:18:04 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-10-28 11:18:04 +0000 |
commit | da1dda3e1d9d3272527d35c23162c4baf7339d74 (patch) | |
tree | bf779309495c4b5112325652dc7dedb4226fa3d3 /synapse/storage/__init__.py | |
parent | Clean up LoggingTransaction (diff) | |
download | synapse-da1dda3e1d9d3272527d35c23162c4baf7339d74.tar.xz |
Add transaction level logging and timing information. Add a _simple_delete method
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 15a72d0cd7..a50e19349a 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -109,6 +109,7 @@ class DataStore(RoomMemberStore, RoomStore, try: yield self.runInteraction( + "persist_event", self._persist_pdu_event_txn, pdu=pdu, event=event, @@ -394,7 +395,7 @@ class DataStore(RoomMemberStore, RoomStore, prev_state_pdu=prev_state_pdu, ) - return self.runInteraction(_snapshot) + return self.runInteraction("snapshot_room", _snapshot) class Snapshot(object): |