Two seconds is plenty of time.
This commit is contained in:
parent
f431336f8d
commit
5725eaf8a7
|
@ -208,7 +208,7 @@ func QuitHandler(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
fmt.Fprint(w, "BYE!\n")
|
||||
go func() {
|
||||
time.Sleep(10 * time.Second)
|
||||
time.Sleep(2 * time.Second)
|
||||
os.Exit(0)
|
||||
}()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue