From 1a01c896f04baa9c8dae6607c9811b3e4c511b49 Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Tue, 16 Aug 2022 00:19:49 +0200 Subject: [PATCH] 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. --- src/backend/distributed/shared_library_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/distributed/shared_library_init.c b/src/backend/distributed/shared_library_init.c index 1d00ccf5c..a76a9a6a1 100644 --- a/src/backend/distributed/shared_library_init.c +++ b/src/backend/distributed/shared_library_init.c @@ -913,8 +913,8 @@ RegisterCitusConfigVariables(void) "citus.distributed_deadlock_detection_factor", gettext_noop("Sets the time to wait before checking for distributed " "deadlocks. Postgres' deadlock_timeout setting is " - "multiplied with the value. If the value is set to" - "1000, distributed deadlock detection is disabled."), + "multiplied with the value. If the value is set to -1, " + "distributed deadlock detection is disabled."), NULL, &DistributedDeadlockDetectionTimeoutFactor, 2.0, -1.0, 1000.0,