Fix negative WG counter
This commit is contained in:
parent
7bfd9e898f
commit
933bfd8568
|
@ -142,6 +142,7 @@ var rootCmd = &cobra.Command{
|
|||
|
||||
go metrics.Start()
|
||||
|
||||
util.Botwg.Add(1)
|
||||
go func() {
|
||||
sc := make(chan os.Signal, 1)
|
||||
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt, os.Kill)
|
||||
|
|
Loading…
Reference in New Issue