Skip to content

Commit

Permalink
ready
Browse files Browse the repository at this point in the history
  • Loading branch information
temur abdurahmanov committed Dec 19, 2024
1 parent 5191980 commit 73304fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions cmd/multiplayer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"os"
"os/signal"
"syscall"
"time"
)

func main() {
Expand All @@ -21,7 +20,7 @@ func main() {

shutdown := make(chan os.Signal, 1)
signal.Notify(shutdown, syscall.SIGINT)
go exiter()
//go exiter()

if env.DebugLogs {
prof()
Expand Down Expand Up @@ -53,8 +52,8 @@ func prof() {
}()
}

func exiter() {
for range time.NewTicker(time.Minute * 5).C {
os.Exit(0)
}
}
//func exiter() {
// for range time.NewTicker(time.Minute * 5).C {
// os.Exit(0)
// }
//}
Loading

0 comments on commit 73304fe

Please sign in to comment.