Skip to content

Commit

Permalink
wait for db script update
Browse files Browse the repository at this point in the history
  • Loading branch information
diego-escobedo committed Oct 28, 2022
1 parent 4d40481 commit 027f9c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ def handle(self, *args, **options):
while not db_connection:
try:
db_connection = connections["default"]
except OperationalError:
except:
time.sleep(1)
print("Database is available")

0 comments on commit 027f9c4

Please sign in to comment.