mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 WebDAV/S3 data sync and backup support configurable concurrent requests https://github.com/siyuan-note/siyuan/issues/12798
This commit is contained in:
parent
27618dd849
commit
488e87b70b
9 changed files with 75 additions and 18 deletions
|
|
@ -1959,6 +1959,7 @@ func buildCloudConf() (ret *cloud.Conf, err error) {
|
|||
PathStyle: Conf.Sync.S3.PathStyle,
|
||||
SkipTlsVerify: Conf.Sync.S3.SkipTlsVerify,
|
||||
Timeout: Conf.Sync.S3.Timeout,
|
||||
ConcurrentReqs: Conf.Sync.S3.ConcurrentReqs,
|
||||
}
|
||||
case conf.ProviderWebDAV:
|
||||
ret.WebDAV = &cloud.ConfWebDAV{
|
||||
|
|
@ -1967,6 +1968,7 @@ func buildCloudConf() (ret *cloud.Conf, err error) {
|
|||
Password: Conf.Sync.WebDAV.Password,
|
||||
SkipTlsVerify: Conf.Sync.WebDAV.SkipTlsVerify,
|
||||
Timeout: Conf.Sync.WebDAV.Timeout,
|
||||
ConcurrentReqs: Conf.Sync.WebDAV.ConcurrentReqs,
|
||||
}
|
||||
default:
|
||||
err = fmt.Errorf("invalid provider [%d]", Conf.Sync.Provider)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue