From f4f1adaa288e670e121508e1c28fedfa977a5d6b Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Sun, 24 Jan 2016 23:52:02 +0200 Subject: main/postgresql-bdr: increase wait interval after startup mitigate race condition which occurs when a client connects too early after 'pg_ctl start' has finished --- main/postgresql-bdr/postgresql-bdr.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/postgresql-bdr/postgresql-bdr.initd') diff --git a/main/postgresql-bdr/postgresql-bdr.initd b/main/postgresql-bdr/postgresql-bdr.initd index e195b97c8a..fc355ce44f 100644 --- a/main/postgresql-bdr/postgresql-bdr.initd +++ b/main/postgresql-bdr/postgresql-bdr.initd @@ -60,7 +60,7 @@ start() { --env "PGPORT=${configured_port}" \ ${extraenv} \ --pidfile ${PGDATA}/postmaster.pid \ - --wait 500 \ + --wait 2000 \ --exec /usr/bin/pg_ctl \ -- \ start -s -w -t ${START_TIMEOUT:-10} \ -- cgit v1.2.3