diff --git a/internal/services/backblaze.go b/internal/services/backblaze.go index 5f041e3..d26ad9a 100644 --- a/internal/services/backblaze.go +++ b/internal/services/backblaze.go @@ -23,7 +23,7 @@ import ( ) const writers = 10 -const maxConcurrentWeight = 4 +const maxConcurrentWeight = 6 const largeFileSize = 500 * 1024 * 1024 // 500 MB type BackBalze struct { @@ -40,7 +40,7 @@ func NewBackBlaze(bbID, bbKey string) *BackBalze { return &BackBalze{ bbID: bbID, bbKey: bbKey, - maxWorkers: runtime.NumCPU(), + maxWorkers: runtime.NumCPU() * 3, } } func (b *BackBalze) WithBucket(bucketName string) *BackBalze {