Open pwoolvett opened 2 years ago
recently, my project facing some issue
File "*****/python3.9/site-packages/broadcaster/_base.py", line 62, in connect
await self._backend.connect()
AttributeError: 'Broadcast' object has no attribute '_backend'
seems like this PR doesn't resolve slow backend initialization issue
Why didn't this merge? If I fixed its conflicts, would it be accepted?
@logankaser let's have it split into multiple PRs. I believe there is only one issue related to postgres left.
I think there are two:
https://github.com/encode/broadcaster/pull/66 looks like a good merge candidate, but I did not test it yet.
Any update on this issue? I'm particularly interested in #22 fix 🙏 .
test: add concurrent checks
chore: update remnants, packages
fix(backend/kafka): consumer unsubscribe not awaitable
fix(backend/postgres): allow concurrent pubs
This fix adds a lock (asyncio.Event based) to avoid
asyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress
fixes #22 fixes #42