mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-21 19:40:59 +00:00
If a job is not ready, put it back
This commit is contained in:
parent
587adfebab
commit
aba91d70b9
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ pub trait Storage: Clone + Send {
|
|||
"Not fetching job {}, it is not ready for processing",
|
||||
job.id()
|
||||
);
|
||||
self.queue_job(job.queue(), job.id()).await?;
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue