Skip to content

Commit

Permalink
Merge pull request #2649 from gobitfly/NOBIDS/fix_goroutine_leak
Browse files Browse the repository at this point in the history
(NOBIDS) remove debug output
  • Loading branch information
peterbitfly authored Oct 27, 2023
2 parents 72bf94d + 0011e6e commit 0c45392
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/explorer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"fmt"
"math/big"
"net/http"
"runtime"
"strings"
"sync"
"time"
Expand Down Expand Up @@ -57,14 +56,6 @@ func init() {
}

func main() {

go func() {
ticker := time.NewTicker(10 * time.Second)
for range ticker.C {
fmt.Println(runtime.NumGoroutine())
}
}()

configPath := flag.String("config", "", "Path to the config file, if empty string defaults will be used")
versionFlag := flag.Bool("version", false, "Show version and exit")
flag.Parse()
Expand Down

0 comments on commit 0c45392

Please sign in to comment.