Runner not running for items in queue
xorl opened this issue · comments
Hello, I've noticed a weird issue within runner.rs while running the "demo." While executing listener.recv() the application exits.
if num_errors > 0 || listener.recv().await.is_ok() {
I've debugged this for a couple of hours yesterday and tracked it down to this one point.
When I execute the application with trace logging this is my output.
TRACE mio::poll > registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
INFO sqlx::query > /* SQLx ping */; rows: 0, elapsed: 242.279µs
INFO sqlx::query > LISTEN "mq"; rows: 0, elapsed: 220.070µs
INFO worker > We are exiting now.
TRACE mio::poll > deregistering event source from poller
I'm building this on Rust Stable 1.57, dependencies below.
[dependencies]
sqlxmq = "0.3.4"
sqlx = "0.5.2"
serde = "1.0.125"
log = "0.4.14"
pretty_env_logger = "0.4.0"
tokio = { version = "1.8.3", features = ["full"] }
@xorl what was the issue?