Skip to content

Commit

Permalink
remove max_size
Browse files Browse the repository at this point in the history
  • Loading branch information
sourBz committed Jan 5, 2025
1 parent 7543472 commit 7fc4250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgrestq/task_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def connect(self) -> None:
"""
# if self.conn is None or self.conn.closed:
# self.conn = self.get_connection()
self.pool = ConnectionPool(self._dsn, open=True, min_size=1, max_size=1)
self.pool = ConnectionPool(self._dsn, open=True, min_size=1)
# This will block the use of the pool until min_size connections
# have been acquired
self.pool.wait()
Expand Down

0 comments on commit 7fc4250

Please sign in to comment.