mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-21 19:40:59 +00:00
Remove unneeded clone
This commit is contained in:
parent
70ab459ae9
commit
3eb23fb7a1
1 changed files with 1 additions and 2 deletions
|
@ -464,8 +464,7 @@ impl QueueHandle {
|
||||||
J: Job,
|
J: Job,
|
||||||
{
|
{
|
||||||
let job = new_scheduled_job(job, after)?;
|
let job = new_scheduled_job(job, after)?;
|
||||||
let server = self.inner.clone();
|
self.inner.new_job(job).await?;
|
||||||
server.new_job(job).await?;
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue