To apply custom configurations, you have two options:
Option 1 — use config.d
application directory. Any file matching *.config
placed in
this directory will be read on service startup. Files are ordered alphabetically, with
later files overriding values from earlier. Additionally, the use of the config.d
directory is recommended when you have sensitive data, such as secrets, in the
configuration. Placing such settings in a separate file allows excluding it from version
control systems like Git.
As an exercise, upload a ~10MB file to your space. Download it and note the speed.
Next, create a custom configuration for op_worker
download parameters,
restart the service and once again try to download the file.
~$ sudo vi /opt/onedata/onedatify/oneprovider_conf/etc/op_worker/config.d/download.config
[
{op_worker, [
{max_download_buffer_size, 1},
{default_download_read_block_size, 1}
]}
].
~$ onedatify restart