mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
fix: disable automaxprocs logging
See https://github.com/uber-go/automaxprocs/issues/18 Fixes #251
This commit is contained in:
committed by
Kévin Dunglas
parent
669a0175f3
commit
af3ed6e26d
@@ -3,8 +3,7 @@ package main
|
||||
|
||||
import (
|
||||
caddycmd "github.com/caddyserver/caddy/v2/cmd"
|
||||
|
||||
_ "go.uber.org/automaxprocs"
|
||||
"go.uber.org/automaxprocs/maxprocs"
|
||||
|
||||
// plug in Caddy modules here.
|
||||
_ "github.com/caddyserver/caddy/v2/modules/standard"
|
||||
@@ -13,6 +12,10 @@ import (
|
||||
_ "github.com/dunglas/vulcain/caddy"
|
||||
)
|
||||
|
||||
func init() {
|
||||
maxprocs.Set()
|
||||
}
|
||||
|
||||
func main() {
|
||||
caddycmd.Main()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user