]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Allow pools to have min_size = 0 as long as they can grow
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 6 Jan 2022 21:16:09 +0000 (22:16 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 6 Jan 2022 21:44:03 +0000 (22:44 +0100)
commit8be9776c3a59c2b5ceb5d2dfb4117fb9fa4717bf
tree370c93a999abb330fc5c875eeda8c3280d8c717e
parent75189c66073fbfd97b6caadbc5960d664b9ff3e4
Allow pools to have min_size = 0 as long as they can grow

Add tests to verify they can grow from 0 no problem.
docs/news_pool.rst
psycopg_pool/psycopg_pool/base.py
tests/pool/test_pool.py
tests/pool/test_pool_async.py