Shutdown fast

This commit is contained in:
Alexander Kukushkin
2015-05-11 09:48:59 +02:00
parent 0b288a7f3e
commit 2e3eb333cb
+1 -1
View File
@@ -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