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

From Karsten Hilbert
Subject Re: Designing a better connection pool for psycopg3
Date
Msg-id YAWYG+XqwuWLHFMA@hermes.hilbert.loc
Whole thread Raw
In response to Re: Designing a better connection pool for psycopg3  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
List 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 by date:

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