($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Tobias Hagelborn <Tobias.Hagelborn@axis.com>
To: Joshua Watt <jpewhacker@gmail.com>
Cc: "bitbake-devel@lists.openembedded.org"
	<bitbake-devel@lists.openembedded.org>
Subject: Re: [bitbake-devel] [PATCH] Re-enable connection pooling with psycopg 3 driver
Date: Fri, 23 Feb 2024 10:58:36 +0000	[thread overview]
Message-ID: <AS8PR02MB94833C59F481899B382B8842EC552@AS8PR02MB9483.eurprd02.prod.outlook.com> (raw)
In-Reply-To: <CAJdd5GaHiakYT4W0kaVhp6NvU4nBccR6MKHtjR_YsMehi-Lg6w@mail.gmail.com>


 >This approach is fine with me. If we need an argument in the future we
>can make one that does "yes", "no", "auto" options. Do you happen to
>know if this is version dependent or if it's just because I didn't
>test with the psycopg driver?

Since I saw your commit earlier on removing the use of pool [1] , I assumed asyncpg did not support it and it also seems to be aligned with whatever was written in different forums.
I have only tested psycopg v3 (package: psycopg) and verified that this works.
I intend to commit a new patch-set since the default pool is very limited. I suggest allowing an unlimited pool size when required.

[1] https://github.com/JoshuaWatt/bb-hashserver/commit/1a5483d0d96e2a429b1af0dca5a523955c8aeb1f


      reply	other threads:[~2024-02-23 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20  6:27 [PATCH] Re-enable connection pooling with psycopg 3 driver Tobias Hagelborn
2024-02-20 15:35 ` [bitbake-devel] " Joshua Watt
2024-02-23 10:58   ` Tobias Hagelborn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AS8PR02MB94833C59F481899B382B8842EC552@AS8PR02MB9483.eurprd02.prod.outlook.com \
    --to=tobias.hagelborn@axis.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=jpewhacker@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).