Re: Designing a better connection pool for psycopg3

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема Re: Designing a better connection pool for psycopg3
Дата
Msg-id YAWYG+XqwuWLHFMA@hermes.hilbert.loc
обсуждение исходный текст
Ответ на Re: Designing a better connection pool for psycopg3  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список psycopg
Am Mon, Jan 18, 2021 at 02:13:21PM +0100 schrieb Karsten Hilbert:

> > https://www.psycopg.org/articles/2021/01/17/pool-design/
>
> I would strongly advise against making sys.exit() the default
> for pool.terminate() unless I misunderstand something.

IMO it should fall back to stopping the pooling machinery and
trying to return new connections on request.

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



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Designing a better connection pool for psycopg3
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: Designing a better connection pool for psycopg3