Bogdan Popa
Bogdan Popa
Hard to say w/o knowing the specifics of what DB you are using. Were these tests using `TransactionTestCase`?
Thanks for the info. I'll try to reproduce this as soon as I can.
I'm confused about why the fallback would fix the problem in this case. `exec_name` is always either `dramatiq` or `dramatiq-gevent` so even with the fallback in place, it sounds like...
IIRC the default mode in tests is to handle db ops inside a transaction and then roll it back. In order for data to be visible outside of the transaction...
Thanks! I'll dig into this in the coming weeks.
The issue here is that the broker doesn't immediately close connections after messages get enqueued, the reasoning being that you're usually going to enqueue more than one message off of...
@th0th in the mean time, you could also increase your heartbeat timeouts.
I don't intend to make that change I mentinoed for a long time, sorry.
I took a quick look to see if I could run your tests and everything went fine on my end. I did notice one small thing that might be problematic:...
Sorry, I haven't been keeping up with the ASGI world so I don't know if there's a better way. A manual translation layer doesn't sound bad though.