From f5056656b2ca681bbcea6d4508411225e3b108a4 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 27 May 2020 16:42:24 +0200 Subject: [PATCH] use the sync id for the scheduled sync worker task this way, multiple sync jobs with the same local store, can get scheduled Signed-off-by: Dominik Csapak --- src/bin/proxmox-backup-proxy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/proxmox-backup-proxy.rs b/src/bin/proxmox-backup-proxy.rs index 7af0229f..8b0c12f4 100644 --- a/src/bin/proxmox-backup-proxy.rs +++ b/src/bin/proxmox-backup-proxy.rs @@ -558,7 +558,7 @@ async fn schedule_datastore_sync_jobs() { if let Err(err) = WorkerTask::spawn( worker_type, - Some(job_config.store.clone()), + Some(job_id.clone()), &username.clone(), false, move |worker| async move {