@psycopg I think I've used several iterations :D As said, this project fell out of one that is much older and there's a lower pin to 3.2.10 because older versions lost notifications or something. 🤔 I THINK nowadays it's just this code but what I had before in my worker queue was heavier 🤔
https://github.com/hynek/pgbg/blob/main/src/pgbg/_dispatcher.py#L226-L229