remove pprof
This commit is contained in:
parent
f69d3149f3
commit
76a2f7d2db
1 changed files with 5 additions and 4 deletions
|
|
@ -6,7 +6,8 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"flag"
|
"flag"
|
||||||
"net/http"
|
"net/http"
|
||||||
_ "net/http/pprof"
|
|
||||||
|
//_ "net/http/pprof"
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
@ -52,9 +53,9 @@ func main() {
|
||||||
flag.Int64Var("a, "quota", 1, "max disk usage quota for the dst cache in GiB")
|
flag.Int64Var("a, "quota", 1, "max disk usage quota for the dst cache in GiB")
|
||||||
flag.BoolVar(&block, "block", true, "block until sftp is connected")
|
flag.BoolVar(&block, "block", true, "block until sftp is connected")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
go func() {
|
//go func() {
|
||||||
http.ListenAndServe("127.0.0.1:7777", nil)
|
// http.ListenAndServe("127.0.0.1:7777", nil)
|
||||||
}()
|
//}()
|
||||||
|
|
||||||
log = klogr.New().WithName("main")
|
log = klogr.New().WithName("main")
|
||||||
log.Info("starting cachefs", "version", version)
|
log.Info("starting cachefs", "version", version)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue