From 076a30d61c2e4c7b7a9dda10da3f7d90a382228b Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 20 Mar 2020 22:13:53 -0500 Subject: [PATCH] Remove unchanged default const --- examples/actix-example/src/main.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/actix-example/src/main.rs b/examples/actix-example/src/main.rs index 5b12be5..25a7ad1 100644 --- a/examples/actix-example/src/main.rs +++ b/examples/actix-example/src/main.rs @@ -1,5 +1,5 @@ use anyhow::Error; -use background_jobs::{create_server, Backoff, Job, MaxRetries, Processor, WorkerConfig}; +use background_jobs::{create_server, Job, MaxRetries, Processor, WorkerConfig}; const DEFAULT_QUEUE: &'static str = "default"; @@ -102,9 +102,4 @@ impl Processor for MyProcessor { // // Jobs can optionally override this value const MAX_RETRIES: MaxRetries = MaxRetries::Count(1); - - // The logic to determine how often to retry this job if it fails - // - // Jobs can optionally override this value - const BACKOFF_STRATEGY: Backoff = Backoff::Exponential(2); }