1
0
mirror of https://github.com/drakkan/sftpgo.git synced 2025-11-29 22:08:10 +02:00

remove automaxprocs: no longer required with Go 1.25

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2025-09-21 14:16:15 +02:00
parent a469dd68a2
commit 255ad5f6db
3 changed files with 0 additions and 13 deletions

View File

@@ -20,17 +20,9 @@
package main // import "github.com/drakkan/sftpgo"
import (
"fmt"
"go.uber.org/automaxprocs/maxprocs"
"github.com/drakkan/sftpgo/v2/internal/cmd"
)
func main() {
if undo, err := maxprocs.Set(); err != nil {
fmt.Printf("error setting max procs: %v\n", err)
undo()
}
cmd.Execute()
}