From c851f17d84296f8187616c574abdf2c99faf34f3 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 14 Nov 2022 21:43:46 -0600 Subject: [PATCH] main: Remove no longer needed max cores config. This removes the code that explicitly configures the runtime to use all processor cores because that has been the default since Go 1.5. --- dcrd.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/dcrd.go b/dcrd.go index 575417cd25..2c8d9a290a 100644 --- a/dcrd.go +++ b/dcrd.go @@ -228,9 +228,6 @@ func dcrdMain() error { } func main() { - // Use all processor cores. - runtime.GOMAXPROCS(runtime.NumCPU()) - // Block and transaction processing can cause bursty allocations. This // limits the garbage collector from excessively overallocating during // bursts. This value was arrived at with the help of profiling live