Skip to content

Commit

Permalink
fixup! fixup! Introduce timeouts module
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofern committed Jul 25, 2024
1 parent 5a73126 commit 1a36fb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/django_pg_migration_tools/timeouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ def apply_timeouts(
#
# In other cases, such as running a Django migration with
# timeouts, it is unhelpful to let the leak carry through,
# because the `distribute_migrate` command will blow up, and if
# the transaction is ABORTED, it means that the migration
# already failed in any case.
# because the `migrate` command will blow up, and if the
# transaction is ABORTED, it means that the migration already
# failed in any case.
if close_transaction_leak and not conn.is_usable():
# This will ping the database to verify if the connection
# is usable or not.
Expand Down

0 comments on commit 1a36fb1

Please sign in to comment.