1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00

Disable profiling

This commit is contained in:
DarthSim 2018-10-05 22:34:57 +06:00
parent 2f8d7b8ad6
commit d6f5559fa7

View File

@ -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)