Potential fix for pull request finding

pull/3501/head
Darren Yu 2 weeks ago committed by GitHub
parent d5e0fc3bc8
commit ac5ae6db2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -229,7 +229,9 @@ func (handler *Driver) Token(ctx context.Context, uploadSession *fs.UploadSessio
} else {
// When disk pre-allocation is disabled, concurrent chunk uploads must be 1
// to avoid disk fragmentation and write contention on local storage.
handler.Policy.Settings.ChunkConcurrency = 1
settings := *handler.Policy.Settings
settings.ChunkConcurrency = 1
handler.Policy.Settings = &settings
}
return &fs.UploadCredential{

Loading…
Cancel
Save