From 7d007533d0568112758e3037f0a8acbaf5a2381f Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Tue, 31 Oct 2023 13:55:17 +0100 Subject: [PATCH] Update comments --- dendrite-sample.yaml | 2 +- setup/config/config_userapi.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dendrite-sample.yaml b/dendrite-sample.yaml index f338dd431..e143a7398 100644 --- a/dendrite-sample.yaml +++ b/dendrite-sample.yaml @@ -325,7 +325,7 @@ user_api: auto_join_rooms: # - "#main:matrix.org" - # The number of device list updater workers to start. Defaults to 8. + # The number of workers to start for the DeviceListUpdater. Defaults to 8. # This only needs updating if the "InputDeviceListUpdate" stream keeps growing indefinitely. # worker_count: 8 diff --git a/setup/config/config_userapi.go b/setup/config/config_userapi.go index 108de0034..559de72ac 100644 --- a/setup/config/config_userapi.go +++ b/setup/config/config_userapi.go @@ -22,8 +22,8 @@ type UserAPI struct { // be joined to the rooms listed under this option. AutoJoinRooms []string `yaml:"auto_join_rooms"` - // The number of workers to start for the DeviceListUpdater. - // Setting this too low may result in the "InputDeviceListUpdate" growing forever. + // The number of workers to start for the DeviceListUpdater. Defaults to 8. + // This only needs updating if the "InputDeviceListUpdate" stream keeps growing indefinitely. WorkerCount int `yaml:"worker_count"` }