diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-01 16:26:42 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-01 16:26:42 +0000 |
commit | 64346be26de92860b7c2b22edc3ffa740beee3d0 (patch) | |
tree | dfc78650bd630bb06dcd64e9178f06d2e9fbcd84 /synapse/storage/__init__.py | |
parent | Remove unused variables (diff) | |
parent | Merge pull request #2923 from matrix-org/erikj/stream_ago_worker (diff) | |
download | synapse-64346be26de92860b7c2b22edc3ffa740beee3d0.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_stream_store
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 22c156c15b..de00cae447 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -20,7 +20,6 @@ from synapse.storage.devices import DeviceStore from .appservice import ( ApplicationServiceStore, ApplicationServiceTransactionStore ) -from ._base import LoggingTransaction from .directory import DirectoryStore from .events import EventsStore from .presence import PresenceStore, UserPresenceState @@ -213,20 +212,6 @@ class DataStore(RoomMemberStore, RoomStore, prefilled_cache=_group_updates_prefill, ) - cur = LoggingTransaction( - db_conn.cursor(), - name="_find_stream_orderings_for_times_txn", - database_engine=self.database_engine, - after_callbacks=[], - final_callbacks=[], - ) - self._find_stream_orderings_for_times_txn(cur) - cur.close() - - self.find_stream_orderings_looping_call = self._clock.looping_call( - self._find_stream_orderings_for_times, 10 * 60 * 1000 - ) - self._stream_order_on_start = self.get_room_max_stream_ordering() self._min_stream_order_on_start = self.get_room_min_stream_ordering() |