Skip to content
Snippets Groups Projects
Unverified Commit 1b70662b authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Clean-up old transaction IDs on the background worker. (#8544)

parent c8e9dc4c
No related branches found
No related tags found
No related merge requests found
Allow running background tasks in a separate worker process.
......@@ -137,7 +137,7 @@ class EventsWorkerStore(SQLBaseStore):
db_conn, "events", "stream_ordering", step=-1
)
if not hs.config.worker.worker_app:
if hs.config.run_background_tasks:
# We periodically clean out old transaction ID mappings
self._clock.looping_call(
run_as_background_process,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment