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(
|
if let Err(err) = WorkerTask::spawn(
|
||||||
worker_type,
|
worker_type,
|
||||||
Some(job_config.store.clone()),
|
Some(job_id.clone()),
|
||||||
&username.clone(),
|
&username.clone(),
|
||||||
false,
|
false,
|
||||||
move |worker| async move {
|
move |worker| async move {
|
||||||
|
|
Loading…
Reference in New Issue