mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
Try jobs with zero retries on network probe
This commit is contained in:
@@ -986,7 +986,7 @@ fn load_jobs(context: &Context, thread: Thread, probe_network: bool) -> Vec<Job>
|
||||
// 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()];
|
||||
|
||||
Reference in New Issue
Block a user