mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-24 07:09:09 -04:00
add new config options for the http client (#330)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
1 parent
a6346a1a98
commit
ac26af32cf
5 files changed
+15
-5
No files matched your search
@@ -121,12 +121,16 @@ func Frontend(cfg *config.Config) *cli.Command {
|
||||
"services": map[string]interface{}{
|
||||
"datagateway": map[string]interface{}{
|
||||
"transfer_shared_secret": cfg.Reva.TransferSecret,
|
||||
"timeout": 86400,
|
||||
"insecure": true,
|
||||
},
|
||||
"ocdav": map[string]interface{}{
|
||||
"prefix": "",
|
||||
"chunk_folder": "/var/tmp/reva/chunks",
|
||||
"files_namespace": cfg.Reva.OCDav.DavFilesNamespace,
|
||||
"webdav_namespace": cfg.Reva.OCDav.WebdavNamespace,
|
||||
"timeout": 86400,
|
||||
"insecure": true,
|
||||
"disable_tus": cfg.Reva.UploadDisableTus,
|
||||
},
|
||||
"ocs": map[string]interface{}{
|
||||
|
||||
@@ -128,7 +128,9 @@ func StorageEOSData(cfg *config.Config) *cli.Command {
|
||||
"user_layout": cfg.Reva.Storages.EOS.Layout,
|
||||
},
|
||||
},
|
||||
"temp_folder": cfg.Reva.StorageEOSData.TempFolder,
|
||||
"timeout": 86400,
|
||||
"insecure": true,
|
||||
"disable_tus": false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -146,7 +146,9 @@ func StorageHomeData(cfg *config.Config) *cli.Command {
|
||||
"prefix": cfg.Reva.Storages.S3.Prefix,
|
||||
},
|
||||
},
|
||||
"temp_folder": cfg.Reva.StorageHomeData.TempFolder,
|
||||
"timeout": 86400,
|
||||
"insecure": true,
|
||||
"disable_tus": false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -146,7 +146,9 @@ func StorageOCData(cfg *config.Config) *cli.Command {
|
||||
"prefix": cfg.Reva.Storages.S3.Prefix,
|
||||
},
|
||||
},
|
||||
"temp_folder": cfg.Reva.StorageOCData.TempFolder,
|
||||
"timeout": 86400,
|
||||
"insecure": true,
|
||||
"disable_tus": false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user