Remove pprof
This commit is contained in:
@@ -15,8 +15,6 @@ import (
|
|||||||
zurghttp "github.com/debridmediamanager.com/zurg/pkg/http"
|
zurghttp "github.com/debridmediamanager.com/zurg/pkg/http"
|
||||||
"github.com/debridmediamanager.com/zurg/pkg/logutil"
|
"github.com/debridmediamanager.com/zurg/pkg/logutil"
|
||||||
"github.com/debridmediamanager.com/zurg/pkg/realdebrid"
|
"github.com/debridmediamanager.com/zurg/pkg/realdebrid"
|
||||||
|
|
||||||
_ "net/http/pprof"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -57,10 +55,6 @@ func main() {
|
|||||||
downloadClient := zurghttp.NewHTTPClient("", 5, 0, config, log.Named("dlclient"))
|
downloadClient := zurghttp.NewHTTPClient("", 5, 0, config, log.Named("dlclient"))
|
||||||
getfile := universal.NewGetFile(downloadClient)
|
getfile := universal.NewGetFile(downloadClient)
|
||||||
|
|
||||||
go func() {
|
|
||||||
http.ListenAndServe("localhost:6060", nil)
|
|
||||||
}()
|
|
||||||
|
|
||||||
mux := http.NewServeMux()
|
mux := http.NewServeMux()
|
||||||
net.Router(mux, getfile, config, torrentMgr, log.Named("net"))
|
net.Router(mux, getfile, config, torrentMgr, log.Named("net"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user