feat: add postgres support to frappe-worker

This commit is contained in:
Revant Nandgaonkar
2020-06-29 23:28:10 +05:30
parent aa3ef11b69
commit 87558b7f0d
13 changed files with 461 additions and 104 deletions

View File

@@ -28,6 +28,10 @@ def main():
with_files = cint(os.environ.get("WITH_FILES"))
backup(sites, with_files)
if frappe.redis_server:
frappe.redis_server.connection_pool.disconnect()
exit(0)