dc fix
This commit is contained in:
parent
292ff44701
commit
919fc6aef5
1
main.go
1
main.go
|
@ -74,6 +74,7 @@ start:
|
||||||
case next = <-cs:
|
case next = <-cs:
|
||||||
case <-time.After(65 * time.Second):
|
case <-time.After(65 * time.Second):
|
||||||
log.Println(Conn.Close(), "\n\t", "closed after 65 seconds of inactivity")
|
log.Println(Conn.Close(), "\n\t", "closed after 65 seconds of inactivity")
|
||||||
|
time.Sleep(5 * time.Second)
|
||||||
goto start
|
goto start
|
||||||
}
|
}
|
||||||
switch t := next.Value.(type) {
|
switch t := next.Value.(type) {
|
||||||
|
|
Loading…
Reference in New Issue