diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2021-11-24 20:21:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 19:21:44 +0000 |
commit | 7f9841bdec349075eb424c943db5569439acb83c (patch) | |
tree | 8d1b689fe5ec89497635217242eb77595780ed67 /synapse/storage/background_updates.py | |
parent | Rename unstable `access_token_lifetime` configuration option to `refreshable_... (diff) | |
download | synapse-7f9841bdec349075eb424c943db5569439acb83c.tar.xz |
Lower minumum batch size to 1 for background updates (#11422)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Diffstat (limited to 'synapse/storage/background_updates.py')
-rw-r--r-- | synapse/storage/background_updates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py index b104f9032c..bc8364400d 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -82,7 +82,7 @@ class BackgroundUpdater: process and autotuning the batch size. """ - MINIMUM_BACKGROUND_BATCH_SIZE = 100 + MINIMUM_BACKGROUND_BATCH_SIZE = 1 DEFAULT_BACKGROUND_BATCH_SIZE = 100 BACKGROUND_UPDATE_INTERVAL_MS = 1000 BACKGROUND_UPDATE_DURATION_MS = 100 |