[server] Add support for forced termination after 6 seconds

This commit is contained in:
Ciprian Dorin Craciun 2019-08-15 20:26:59 +03:00
parent 55e5c43a95
commit 96b9ae9f23

View file

@ -1366,6 +1366,13 @@ func main_0 () (error) {
}
} ()
}
if true {
go func () () {
time.Sleep (6 * time.Second)
log.Printf ("[ww] [827c672c] forced exit!\n")
os.Exit (2)
} ()
}
} ()
}