mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-04-24 12:55:51 +00:00
Fix pprof
This commit is contained in:
parent
a4e53053b9
commit
395a6f30b2
2
main.go
2
main.go
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user