Skip to content

Commit

Permalink
update data info
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 12, 2024
1 parent d34295e commit a12373f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions network/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (this *OnlineUser) readLoop() {
if err == io.EOF || err == io.ErrClosedPipe || content == "" || err == io.ErrNoProgress {
IMsg.CloseEOF(this.Connection)
glog.Info("协程的数量 :", runtime.NumGoroutine())
this.Connection.Close()
//this.Connection.Close()
runtime.Goexit()
return
}
Expand All @@ -65,7 +65,7 @@ func (this *OnlineUser) readLoop() {
case <-time.After(30 * time.Second):
glog.Info("readLoop:超时----")
glog.Info("协程的数量 :", runtime.NumGoroutine())
this.Connection.Close()
//this.Connection.Close()
runtime.Goexit()
return
//default:
Expand Down Expand Up @@ -93,7 +93,7 @@ func (this *OnlineUser) handleLoop() {
case <-time.After(200 * time.Second):
glog.Info("handleLoop:超时----")
glog.Info("协程的数量 :", runtime.NumGoroutine())
this.Connection.Close()
//this.Connection.Close()
runtime.Goexit()
return
}
Expand Down

0 comments on commit a12373f

Please sign in to comment.