diff --git a/jobs-core/Cargo.toml b/jobs-core/Cargo.toml index ff80582..9db40a8 100644 --- a/jobs-core/Cargo.toml +++ b/jobs-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "background-jobs-core" description = "Core types for implementing an asynchronous jobs processor" -version = "0.9.1" +version = "0.9.2" license-file = "../LICENSE" authors = ["asonix "] repository = "https://git.asonix.dog/Aardwolf/background-jobs" diff --git a/jobs-core/src/actix_job.rs b/jobs-core/src/actix_job.rs index 4fff4d3..044b119 100644 --- a/jobs-core/src/actix_job.rs +++ b/jobs-core/src/actix_job.rs @@ -98,6 +98,10 @@ where type Future = Pin> + Send>>; const NAME: &'static str = ::NAME; + const QUEUE: &'static str = ::QUEUE; + const MAX_RETRIES: MaxRetries = ::MAX_RETRIES; + const BACKOFF: Backoff = ::BACKOFF; + const TIMEOUT: i64 = ::TIMEOUT; fn run(self, state: Self::State) -> Self::Future { let (tx, rx) = oneshot::channel();