public inbox for [email protected]
help / color / mirror / Atom feedFrom: Pawel Veselov <[email protected]>
To: List <[email protected]>
Subject: PGConnection.getNotifications(0) doesn't block
Date: Thu, 3 Aug 2023 16:04:08 +0200
Message-ID: <CAMnJ+Bf7STMy2DwKjT12dxT-j+Han1KoVSkmFZ9Otuwd6to+DA@mail.gmail.com> (raw)
Hello.
I'm implementing a bit that is expected to wait for published channel
notifications,
and once there are any - process them.
I'm using PGConnection.getNotifications(0), but that immediately
returns an empty
array, and doesn't block like JavaDoc says it should.
I'm on 42.6.0.
What am I missing?
Thank you.
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: PGConnection.getNotifications(0) doesn't block
In-Reply-To: <CAMnJ+Bf7STMy2DwKjT12dxT-j+Han1KoVSkmFZ9Otuwd6to+DA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox