mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Shutdown fast
This commit is contained in:
@@ -115,7 +115,7 @@ class Postgresql:
|
||||
return ret
|
||||
|
||||
def stop(self):
|
||||
return os.system(self._pg_ctl + ' stop') != 0
|
||||
return os.system(self._pg_ctl + ' stop -m fast') != 0
|
||||
|
||||
def reload(self):
|
||||
return os.system(self._pg_ctl + ' reload') == 0
|
||||
|
||||
Reference in New Issue
Block a user