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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-05-27 16:42:24 +02:00 committed by Dietmar Maurer
parent 8c87743642
commit f5056656b2

View File

@ -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 {