v0.1.1
·
51 commits
to master
since this release
Fix
PostgresStorageis nowSend + Syncunder bothtokioandntexruntimes, so it can be used withapalis::WorkerBuilder::build(). The published0.1.0failed to compile inside aWorkerBuilderbecause ntex'sBlockingResultis!Sync;PgSink::flush_futureis now wrapped inMutex<Option<…>>withMutex::get_mutkeeping the hot path lock-free. Compile-timeassert_send_syncguards the invariant.
Notes
0.1.0has been yanked from crates.io — it does not work with apalis.- Added an integration test covering the full worker round-trip (handler-ok and handler-err branches).
- Added
examples/worker.rs(tokio) andexamples/worker-ntex.rs(ntex / neon-polling) demonstrating end-to-end use withWorkerBuilderand in-handlerpush_with_conn. - README documents in-handler transactional fan-out.