diff --git a/CHANGELOG.md b/CHANGELOG.md index c3c0e5a..879dc34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- *bump*: to v1.0.0-rc.9 ([#110](https://github.com/apalis-dev/apalis-sqlite/pull/110)) +- fix: compile alongside sqlx PostgreSQL driver when pushing tasks (#112) + ## [1.0.0-rc.7] - 2026-05-07 - bump: to v1.0.0-rc.8 (#78) diff --git a/src/persist.rs b/src/persist.rs index 47cf687..4dc481f 100644 --- a/src/persist.rs +++ b/src/persist.rs @@ -153,7 +153,7 @@ impl Persistence for SqlxPersistence { async fn push_tasks(&mut self, tasks: Vec>) -> Result<(), Self::Error> { let queue = self.config.queue.as_ref(); let mut tx = self.pool.begin().await?; - push_tasks(&mut tx, queue, &tasks).await?; + push_tasks(&mut *tx, queue, &tasks).await?; tx.commit().await?; Ok(()) }