From be9e525739a8f53fe0e18d8e215c9b7166592248 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Tue, 24 Nov 2015 17:23:38 +0100 Subject: [PATCH] Remove an unused line. --- patroni/postgresql.py | 1 - 1 file changed, 1 deletion(-) diff --git a/patroni/postgresql.py b/patroni/postgresql.py index a760e879..37c20764 100644 --- a/patroni/postgresql.py +++ b/patroni/postgresql.py @@ -707,7 +707,6 @@ $$""".format(name, options), name, password, password) # tries twice, then returns failure (as 1) # uses "stream" as the xlog-method to avoid sync issues master_connection = leader.conn_url - bbfailures = 0 maxfailures = 2 ret = 1 for bbfailures in range(0, maxfailures):