This commit is contained in:
cx uname 2014-02-25 16:14:59 +04:00
parent 292ff44701
commit 919fc6aef5
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ start:
case next = <-cs:
case <-time.After(65 * time.Second):
log.Println(Conn.Close(), "\n\t", "closed after 65 seconds of inactivity")
time.Sleep(5 * time.Second)
goto start
}
switch t := next.Value.(type) {