Multiple DB update by diesel-async #6576
Unanswered
MarryP0ppins
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to speed up my function with diesel DB
update
.I'm tried using
thread::span
andtask::span
withArc::new(Mutex::new(connection))
but probably doing something wrong because it doesn't work.Is there any way to do it? And is it even possible?
File with function: answer.rs
Beta Was this translation helpful? Give feedback.
All reactions