-
I have a database, namely Sled, whose database is designed to be cloned rather than shared in an Arc. Each database clone is a handle to the same database. How can I access that database from the handlers? |
Beta Was this translation helpful? Give feedback.
Answered by
Zk2u
Nov 9, 2023
Replies: 1 comment 1 reply
-
That should just work. You have to provide more details if it doesn’t work for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've used thread local storage for it to work as expected without having to go through Axum's state. Thank you for an awesome library!