From cfddd43bfb8e2f00e5eed1a934ad8b7467052d22 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 29 Jun 2021 20:56:46 +0100 Subject: bump background update rate --- synapse/storage/background_updates.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'synapse/storage/background_updates.py') diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py index 142787fdfd..c1f4d99e19 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -84,8 +84,9 @@ class BackgroundUpdater: MINIMUM_BACKGROUND_BATCH_SIZE = 100 DEFAULT_BACKGROUND_BATCH_SIZE = 100 - BACKGROUND_UPDATE_INTERVAL_MS = 1000 - BACKGROUND_UPDATE_DURATION_MS = 100 + # temporarily increased to make stream_ordering go faster: rv 2021/06/29 + BACKGROUND_UPDATE_INTERVAL_MS = 10 + BACKGROUND_UPDATE_DURATION_MS = 1000 def __init__(self, hs: "HomeServer", database: "DatabasePool"): self._clock = hs.get_clock() -- cgit 1.5.1