Re: Designing a better connection pool for psycopg3

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: Designing a better connection pool for psycopg3
Дата
Msg-id CA+mi_8a-0Wx62eziOBwp-=ryBynsqrgx4AcBGW5+pSr3vZXjHg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Designing a better connection pool for psycopg3  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Ответы Re: Designing a better connection pool for psycopg3  (Magnus Hagander <magnus@hagander.net>)
Re: Designing a better connection pool for psycopg3  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список psycopg
On Mon, 18 Jan 2021 at 14:13, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:

> I would strongly advise against making sys.exit() the default
> for pool.terminate() unless I misunderstand something.

How would you terminate the program if a maintenance thread, not the
main one, thinks that the program is not in working state?

Thank you!

-- Daniele



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

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