Skip to content

Commit cfd15ea

Browse files
committed
feat: document opendal options connections and throttle
1 parent 7665b84 commit cfd15ea

File tree

3 files changed

+87
-3
lines changed

3 files changed

+87
-3
lines changed

Cargo.lock

+83-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/full-one.toml

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ timeout = "10min" # Only rest/rclone backend
5151
rclone-command = "rclone serve restic --addr localhost:0" # Only rclone; Default: not set
5252
use-password = "true" # Only rclone
5353
rest-url = "http://localhost:8000" # Only rclone; Default: determine REST URL from rclone output
54+
connections = "20" # Only opendal backends; Default: Not set
55+
throttle = "10kB,10MB" # limit and burst per second; only opendal backends; Default: Not set
5456
# Note that opendal backends use several service-dependent options which may be specified here, see
5557
# https://opendal.apache.org/docs/rust/opendal/services/index.html
5658

config/full.toml

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ timeout = "10min" # Only rest/rclone backend
4848
rclone-command = "rclone serve restic --addr localhost:0" # Only rclone; Default: not set
4949
use-password = "true" # Only rclone
5050
rest-url = "http://localhost:8000" # Only rclone; Default: determine REST URL from rclone output
51+
connections = "20" # Only opendal backends; Default: Not set
52+
throttle = "10kB,10MB" # limit and burst per second; only opendal backends; Default: Not set
5153
# Note that opendal backends use several service-dependent options which may be specified here, see
5254
# https://opendal.apache.org/docs/rust/opendal/services/index.html
5355

0 commit comments

Comments
 (0)