https://opendal.apache.org/ logo
Read batch_max_operations from config
# general
x
You can add a new config value
batch_max_operations
(which default to 1000), and use it in capability.
This value could be fetched from Config and stored in Core as a new field.
m
I have created a draft PR here: https://github.com/apache/incubator-opendal/pull/2354. But I am not able to use the config value in
.set_capability(Capability {})
in backend of s3.
x
Hi, oay is a different project with core
Please add a new entry is s3 service S3Builder (the config for s3 service) and use it in S3Core
m
Sorry for the mistake. Updated the draft.
Can you please guide me on the required function batch_max_operations?
I mean the input and return type...
x
You can take root() function as reference which takes &str as input and returns
&mut Self