Skip to content

Commit

Permalink
Make deleter async
Browse files Browse the repository at this point in the history
  • Loading branch information
mvniekerk committed Jan 25, 2023
1 parent 37b7ff7 commit a054bac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tokio-cron-scheduler"
version = "0.9.2"
version = "0.9.3"
authors = ["Michael van Niekerk <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion src/job_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ impl JobsSchedulerLocked {
}

let context = self.context();
JobDeleter::remove(&context, to_be_removed)
JobDeleter::remove(&context, to_be_removed).await
}

/// The `start` spawns a Tokio task where it loops. Every 500ms it
Expand Down

0 comments on commit a054bac

Please sign in to comment.