-
So we have this issue in rustic, that we would like to expose more connection parameters to the user via the config file (rustic-rs/rustic#981). For example, we would like to limit the amount of connections being able to be made to 10 for the sftp service. What would be the way to accomplish this using OpenDAL? We could artificially limit the amount of threads in the thread pool, but I wonder if there is another way, with OpenDAL? |
Beta Was this translation helpful? Give feedback.
Answered by
Xuanwo
Feb 5, 2024
Replies: 1 comment
-
Maybe we can use opendal::layers::ConcurrentLimitLayer? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Xuanwo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe we can use opendal::layers::ConcurrentLimitLayer?