fix: also dispatch right away
This commit is contained in:
parent
9a260a14c3
commit
f17d1a5fe3
1 changed files with 2 additions and 0 deletions
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue