remove debug code
This commit is contained in:
parent
665d42fc51
commit
70b0a691b6
8
main.go
8
main.go
@ -5,7 +5,6 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"runtime"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
@ -102,13 +101,6 @@ func main() {
|
|||||||
userCount := make(chan int)
|
userCount := make(chan int)
|
||||||
go pingMumble(*mumbleAddr, strconv.Itoa(*mumblePort), userCount)
|
go pingMumble(*mumbleAddr, strconv.Itoa(*mumblePort), userCount)
|
||||||
go discordStatusUpdate(discord, userCount)
|
go discordStatusUpdate(discord, userCount)
|
||||||
go func() {
|
|
||||||
for {
|
|
||||||
time.Sleep(3 * time.Second)
|
|
||||||
log.Println(runtime.NumGoroutine())
|
|
||||||
//pprof.Lookup("goroutine").WriteTo(os.Stdout, 1)
|
|
||||||
}
|
|
||||||
}()
|
|
||||||
if *autoMode {
|
if *autoMode {
|
||||||
Bridge.AutoChan = make(chan bool)
|
Bridge.AutoChan = make(chan bool)
|
||||||
go AutoBridge(discord)
|
go AutoBridge(discord)
|
||||||
|
Loading…
Reference in New Issue
Block a user