Re: Designing a better connection pool for psycopg3

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: Designing a better connection pool for psycopg3
Дата
Msg-id YAXbh7b98F/HBrgD@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Re: Designing a better connection pool for psycopg3  (Vladimir Ryabtsev <greatvovan@gmail.com>)
Список psycopg
Am Mon, Jan 18, 2021 at 10:20:12AM -0800 schrieb Vladimir Ryabtsev:

> BTW, at which moment will the driver be trying to connect? At pool
> initialization or on first "getconn()"?

I tend to favor the latter, as a default.

As you said, an application can always attempt to grab a
connection early on to detect failures.

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



В списке psycopg по дате отправления:

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: Designing a better connection pool for psycopg3
Следующее
От: Denis Laxalde
Дата:
Сообщение: about client-side cursors