If a job is not ready, put it back

This commit is contained in:
asonix 2020-03-21 14:00:52 -05:00
parent 587adfebab
commit aba91d70b9

View file

@ -89,6 +89,7 @@ pub trait Storage: Clone + Send {
"Not fetching job {}, it is not ready for processing", "Not fetching job {}, it is not ready for processing",
job.id() job.id()
); );
self.queue_job(job.queue(), job.id()).await?;
Ok(None) Ok(None)
} }
} }