mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-21 11:30:59 +00:00
Fix tokio docs
This commit is contained in:
parent
a0c924a4f3
commit
d2c171913f
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
//! let queue_handle = WorkerConfig::new(storage, move |_| MyState::new("My App"))
|
||||
//! .register::<MyJob>()
|
||||
//! .set_worker_count(DEFAULT_QUEUE, 16)
|
||||
//! .start();
|
||||
//! .start()?;
|
||||
//!
|
||||
//! // Queue our jobs
|
||||
//! queue_handle.queue(MyJob::new(1, 2)).await?;
|
||||
|
|
Loading…
Reference in a new issue