config: rocksdb_compaction help was inverted :-)

You seem to have replaced `disable_rocksdb_compaction` with `rocksdb_compaction`, since the help is blackmailing me never to set it to `true`, except **true is the default**.

I have tried to make it say what you possibly meant.
This commit is contained in:
Peter Gervai 2025-04-09 19:17:21 +02:00 committed by Jade Ellis
parent fe7963d306
commit 5486dbda24
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
2 changed files with 6 additions and 6 deletions

View file

@ -970,8 +970,8 @@
#
#rocksdb_compaction_ioprio_idle = true
# Disables RocksDB compaction. You should never ever have to set this
# option to true. If you for some reason find yourself needing to use this
# Enables RocksDB compaction. You should never ever have to set this
# option to false. If you for some reason find yourself needing to use this
# option as part of troubleshooting or a bug, please reach out to us in
# the conduwuit Matrix room with information and details.
#
@ -1208,8 +1208,6 @@
# sender user's server name, inbound federation X-Matrix origin, and
# outbound federation handler.
#
# Basically "global" ACLs.
#
# You can set this to ["*"] to block all servers by default, and then
# use `allowed_remote_server_names` to allow only specific servers.
#
@ -1220,6 +1218,8 @@
# List of allowed server names via regex patterns that we will allow,
# regardless of if they match `forbidden_remote_server_names`.
#
# This option has no effect if `forbidden_remote_server_names` is empty.
#
# example: ["goodserver\.tld$", "goodphrase"]
#
#allowed_remote_server_names = []

View file

@ -1133,8 +1133,8 @@ pub struct Config {
#[serde(default = "true_fn")]
pub rocksdb_compaction_ioprio_idle: bool,
/// Disables RocksDB compaction. You should never ever have to set this
/// option to true. If you for some reason find yourself needing to use this
/// Enables RocksDB compaction. You should never ever have to set this
/// option to false. If you for some reason find yourself needing to use this
/// option as part of troubleshooting or a bug, please reach out to us in
/// the conduwuit Matrix room with information and details.
///