mirror of
https://github.com/actix/examples
synced 2024-11-23 14:31:07 +01:00
fix: remove return
This commit is contained in:
parent
642fbc84ad
commit
90b09deee4
@ -25,8 +25,6 @@ async fn process_email_job(job: Email) {
|
|||||||
|
|
||||||
// simulate time taken to send email
|
// simulate time taken to send email
|
||||||
tokio::time::sleep(rand_delay_with_jitter()).await;
|
tokio::time::sleep(rand_delay_with_jitter()).await;
|
||||||
|
|
||||||
// Ok(())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn start_processing_email_queue() -> eyre::Result<RedisStorage<Email>> {
|
pub(crate) async fn start_processing_email_queue() -> eyre::Result<RedisStorage<Email>> {
|
||||||
|
Loading…
Reference in New Issue
Block a user