mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 13:16:53 +00:00
Other: Sneaky worker count bump (*2 -> *4)
This commit is contained in:
@ -52,7 +52,7 @@ type Settings struct {
|
||||
func GetDefaultSyncWorkerCount() int {
|
||||
const minSyncWorkers = 16
|
||||
|
||||
syncWorkers := runtime.NumCPU() * 2
|
||||
syncWorkers := runtime.NumCPU() * 4
|
||||
|
||||
if syncWorkers < minSyncWorkers {
|
||||
syncWorkers = minSyncWorkers
|
||||
|
||||
Reference in New Issue
Block a user