Fix pprof

This commit is contained in:
Richard Patel 2018-11-05 21:55:07 +01:00
parent a4e53053b9
commit 395a6f30b2
No known key found for this signature in database
GPG Key ID: C268B2BBDA2ABECB

View File

@ -35,10 +35,10 @@ func init() {
} }
func main() { func main() {
app.Run(os.Args)
go func() { go func() {
log.Println(http.ListenAndServe("localhost:42069", nil)) log.Println(http.ListenAndServe("localhost:42069", nil))
}() }()
app.Run(os.Args)
} }
func cmdCrawler(clic *cli.Context) error { func cmdCrawler(clic *cli.Context) error {