perf(aliyundrive_open): don't refresh token on init if token valid

This commit is contained in:
Andy Hsu
2023-03-20 15:00:02 +08:00
parent cefec1a663
commit aeb48b2ecc
2 changed files with 2 additions and 6 deletions

View File

@ -15,6 +15,7 @@ type Addition struct {
ClientSecret string `json:"client_secret" required:"false" help:"Keep it empty if you don't have one"`
RemoveWay string `json:"remove_way" required:"true" type:"select" options:"trash,delete"`
InternalUpload bool `json:"internal_upload" help:"If you are using Aliyun ECS in Beijing, you can turn it on to boost the upload speed"`
AccessToken string
}
var config = driver.Config{