From 6306c82dfe9d101acaca487fcb829069b47c148b Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Thu, 28 Nov 2019 23:54:57 +0100 Subject: [PATCH] Try jobs with zero retries on network probe --- src/job.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/job.rs b/src/job.rs index bc7e63a24..17b13f9e3 100644 --- a/src/job.rs +++ b/src/job.rs @@ -986,7 +986,7 @@ fn load_jobs(context: &Context, thread: Thread, probe_network: bool) -> Vec // process _all_ pending jobs that failed before // in the order of their backoff-times. "SELECT id, action, foreign_id, param, added_timestamp, desired_timestamp, tries \ - FROM jobs WHERE thread=? AND tries>0 ORDER BY desired_timestamp, action DESC;" + FROM jobs WHERE thread=? ORDER BY desired_timestamp, action DESC;" }; let params_no_probe = params![thread as i64, time()];