From 29de052dd8e334f503d4b5f6b453395b353501d1 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 5 Jul 2018 10:09:04 +0900 Subject: [PATCH] repmgr: clarify intent behind --wait-sync timeout processing --- repmgr-action-standby.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index 31dd2874..bbd05c6d 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -1709,9 +1709,10 @@ do_standby_register(void) termPQExpBuffer(&details); /* - * if --wait-sync option set, wait for the records to synchronise + * If --wait-sync option set, wait for the records to synchronise * (unless 0 seconds provided, which disables it, which is the same as - * not providing the option) + * not providing the option). The default value is -1, which means + * no timeout. */ if (PQstatus(conn) == CONNECTION_OK &&