Skip to content

Commit

Permalink
repo: Improve stuff in order to truly fix divio#240
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
  • Loading branch information
Andrei Jiroh Eugenio Halili committed Mar 3, 2021
1 parent 42f696d commit ac51f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion divio_cli/localdev/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def prepare_db_server_postgres(self, db_container_id, start_wait):
"-U",
"postgres",
"-c",
"SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'db' AND pid <> pg_backend_pid();",
"'SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'db' AND pid <> pg_backend_pid();'",
],
silent=True,
)
Expand Down

0 comments on commit ac51f6b

Please sign in to comment.