Re: Designing a better connection pool for psycopg3 - Mailing list psycopg

From Daniele Varrazzo
Subject Re: Designing a better connection pool for psycopg3
Date
Msg-id CA+mi_8a-0Wx62eziOBwp-=ryBynsqrgx4AcBGW5+pSr3vZXjHg@mail.gmail.com
Whole thread Raw
In response to Re: Designing a better connection pool for psycopg3  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: Designing a better connection pool for psycopg3
Re: Designing a better connection pool for psycopg3
List 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 by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: Designing a better connection pool for psycopg3
Next
From: Magnus Hagander
Date:
Subject: Re: Designing a better connection pool for psycopg3