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:
parent
8c87743642
commit
f5056656b2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user