Skip to content

Commit

Permalink
Boost threadbuckets for object merging
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Dec 12, 2024
1 parent cc4c12c commit 657cbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/engine/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/lkarlslund/adalanche/modules/windowssecurity"
)

var threadbuckets = runtime.NumCPU() * 64
var threadbuckets = runtime.NumCPU() * runtime.NumCPU() * 64
var threadsafeobjectmutexes = make([]sync.RWMutex, threadbuckets)
var UnknownGUID = uuid.UUID{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}

Expand Down

0 comments on commit 657cbd0

Please sign in to comment.