diff options
Diffstat (limited to 'lib/automaxprocs/automaxprocs.go')
-rw-r--r-- | lib/automaxprocs/automaxprocs.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/automaxprocs/automaxprocs.go b/lib/automaxprocs/automaxprocs.go new file mode 100644 index 0000000000..f6892fa0ad --- /dev/null +++ b/lib/automaxprocs/automaxprocs.go @@ -0,0 +1,15 @@ +// Copyright (C) 2024 The Syncthing Authors. +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this file, +// You can obtain one at https://mozilla.org/MPL/2.0/. + +package automaxprocs + +import ( + "go.uber.org/automaxprocs/maxprocs" +) + +func init() { + maxprocs.Set() +} |