mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
Disable profiling
This commit is contained in:
parent
2f8d7b8ad6
commit
d6f5559fa7
6
main.go
6
main.go
@ -1,11 +1,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
"os/signal"
|
||||
|
||||
"net/http"
|
||||
_ "net/http/pprof"
|
||||
)
|
||||
|
||||
@ -14,10 +12,6 @@ const version = "2.0.0"
|
||||
type ctxKey string
|
||||
|
||||
func main() {
|
||||
go func() {
|
||||
log.Println(http.ListenAndServe("localhost:6060", nil))
|
||||
}()
|
||||
|
||||
s := startServer()
|
||||
|
||||
stop := make(chan os.Signal, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user