This commit is contained in:
Liang Ding 2022-06-25 22:44:49 +08:00
parent 51d3d68981
commit b9a0e2c2fb
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 6 additions and 6 deletions

View file

@ -423,7 +423,9 @@ func syncRepo() (err error) {
}
start := time.Now()
err = repo.Sync(Conf.Sync.CloudName, Conf.User.UserId, Conf.User.UserToken, Conf.System.NetworkProxy.String(), util.AliyunServer)
err = repo.Sync(Conf.Sync.CloudName, Conf.User.UserId, Conf.User.UserToken, Conf.System.NetworkProxy.String(), util.AliyunServer, map[string]interface{}{
CtxPushMsg: CtxPushMsgToStatusBar,
})
elapsed := time.Since(start)
util.LogInfof("sync repo elapsed [%.2fs]", elapsed.Seconds())
return