mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 改进云端同步性能 Fix https://github.com/siyuan-note/siyuan/issues/5581
This commit is contained in:
parent
e394c36159
commit
229adee48c
3 changed files with 24 additions and 23 deletions
|
|
@ -30,6 +30,7 @@ import (
|
|||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/dustin/go-humanize"
|
||||
"github.com/qiniu/go-sdk/v7/storage"
|
||||
"github.com/siyuan-note/dejavu"
|
||||
"github.com/siyuan-note/dejavu/entity"
|
||||
"github.com/siyuan-note/encryption"
|
||||
|
|
@ -831,6 +832,7 @@ func buildCloudInfo() (ret *dejavu.CloudInfo, err error) {
|
|||
Token: Conf.User.UserToken,
|
||||
LimitSize: int64(Conf.User.UserSiYuanRepoSize - Conf.User.UserSiYuanAssetSize),
|
||||
Server: util.AliyunServer,
|
||||
Zone: &storage.ZoneHuadong, // TODO: 海外版需要条件编译
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue