fix: also dispatch right away

This commit is contained in:
əlemi 2024-09-19 17:20:17 +02:00
parent 9a260a14c3
commit f17d1a5fe3
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -148,5 +148,7 @@ pub async fn process(ctx: Context, job: &model::job::Model) -> crate::JobResult<
tx.commit().await?; tx.commit().await?;
ctx.wake_workers(); // dispatch immediately
Ok(()) Ok(())
} }