Skip to content

Commit

Permalink
fix: disable automaxprocs logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk committed Oct 9, 2023
1 parent 52caf17 commit 573ebaf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions caddy/frankenphp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -13,6 +12,10 @@ import (
_ "github.com/dunglas/vulcain/caddy"
)

func init() {
maxprocs.Set()
}

func main() {
caddycmd.Main()
}

0 comments on commit 573ebaf

Please sign in to comment.