cache read performance improvements
This commit is contained in:
parent
39c4720e40
commit
f69d3149f3
14 changed files with 140 additions and 71 deletions
|
|
@ -6,6 +6,7 @@ import (
|
|||
"context"
|
||||
"flag"
|
||||
"net/http"
|
||||
_ "net/http/pprof"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
|
@ -51,6 +52,9 @@ func main() {
|
|||
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.Parse()
|
||||
go func() {
|
||||
http.ListenAndServe("127.0.0.1:7777", nil)
|
||||
}()
|
||||
|
||||
log = klogr.New().WithName("main")
|
||||
log.Info("starting cachefs", "version", version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue