Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: fixing typo in method name
  • Loading branch information
mamfyou committed Dec 24, 2025
commit b71ef44487dabe4f912792d5747f4c23d6cb079d
2 changes: 1 addition & 1 deletion asyncpg/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def _deactivate_inactive_connection(self) -> None:

if self._con is not None:
# Only deactivate if doing so respects pool size and demand constraints.
if not self._pool.is_safe_to_close_connection():
if not self._pool.safe_to_close_connection():
# Still mark this holder as available and keep the connection.
# Re-arm the inactivity timer so we can reevaluate later.
self._setup_inactive_callback()
Expand Down