Replies: 2 comments 14 replies
-
It looks like this is not resolved, |
Beta Was this translation helpful? Give feedback.
2 replies
-
@djc-id why would you include basically cron jobs or tasks in an api? It just doesn‘t scale…. It‘s not about rust, rocket or tokio. Let‘s begin with why would you engineer such a thing? Would you eat a blue banana?
|
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A possibly interesting Reddit thread
https://www.reddit.com/r/rust/comments/qsgxs2/scheduled_background_task_using_database_in_rocket/
I love Rocket but it does need to coexist in a wider ecosystem and there may be an idiom here that is worth documenting.
I don't know enough about Rocket or Tokio to confidently document the optimum solution. Let me know if I can help though.
Beta Was this translation helpful? Give feedback.
All reactions