Enforce data-type checks for step matcher

and increase default timeout for patroni start
This commit is contained in:
Alexander Kukushkin
2016-03-11 14:46:14 +01:00
parent 8b81d270bc
commit 5f6beae22f
4 changed files with 40 additions and 26 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
import os.path
import os
import psycopg2
import requests
import subprocess
import shutil
import subprocess
import tempfile
import time
import yaml
@@ -50,7 +50,7 @@ class PatroniController(object):
return None
return content.strip()
def start(self, pg_name, max_wait_limit=15, tags=None):
def start(self, pg_name, max_wait_limit=20, tags=None):
if not self._is_running(pg_name):
if pg_name in self._processes:
del self._processes[pg_name]