Shared KV store with slow handlers? #3067
-
SummaryI have my axum handler working with a shared mutable state ( The problem is that Conceptually what I want to accomplish is to have axum version0.7.9 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
How about |
Beta Was this translation helpful? Give feedback.
How about
Arc<Library<KvStore>>
with something likestruct Library<KvStore> { store: Mutex<KvStore>, _other_fields: () }
?