Fix description of citus.distributed_deadlock_detection_factor (#5860)

The long description of the `citus.distributed_deadlock_detection_factor` 
setting was incorrectly stating that 1000 would disable it. Instead -1 
is the value that disables distributed deadlock detection.
pull/6126/head
Jelte Fennema 2022-08-16 00:19:49 +02:00 committed by GitHub
parent 43c2a1e88b
commit 1a01c896f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -913,8 +913,8 @@ RegisterCitusConfigVariables(void)
"citus.distributed_deadlock_detection_factor", "citus.distributed_deadlock_detection_factor",
gettext_noop("Sets the time to wait before checking for distributed " gettext_noop("Sets the time to wait before checking for distributed "
"deadlocks. Postgres' deadlock_timeout setting is " "deadlocks. Postgres' deadlock_timeout setting is "
"multiplied with the value. If the value is set to" "multiplied with the value. If the value is set to -1, "
"1000, distributed deadlock detection is disabled."), "distributed deadlock detection is disabled."),
NULL, NULL,
&DistributedDeadlockDetectionTimeoutFactor, &DistributedDeadlockDetectionTimeoutFactor,
2.0, -1.0, 1000.0, 2.0, -1.0, 1000.0,