Change default reload_config timeout to 30s.
authorDavid E. Wheeler <david@justatheory.com>
Wed, 2 Oct 2013 18:25:34 +0000 (11:25 -0700)
committerDavid E. Wheeler <david@justatheory.com>
Wed, 2 Oct 2013 18:25:34 +0000 (11:25 -0700)
Ref #67.

bucardo

diff --git a/bucardo b/bucardo
index b9c6f9daa63deebcc959b15282c3e9be1b9481f5..e405d86e32815b80096b24a3f626891b9f85f2be 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -887,7 +887,7 @@ sub reload_config {
 
     ## Wait a little bit, then scan for the confirmation message
     sleep 0.1;
-    if (! wait_for_notice($dbh, $done, $adverb || 5) ) {
+    if (! wait_for_notice($dbh, $done, $adverb || 30) ) {
         die "Waited, but Bucardo never confirmed the configuration reload!\n";
     }
     print "DONE!\n";