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:
8
main.go
8
main.go
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user