Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
cserli committed Aug 5, 2024
1 parent eb95678 commit 5047265
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 @@ -58,7 +58,7 @@ func (this *OnlineUser) readLoop() {
glog.Info("协程的数量 :", runtime.NumGoroutine())
//this.Connection.Close()
//runtime.Goexit()
return
//return
}
//break
continue
Expand All @@ -70,7 +70,7 @@ func (this *OnlineUser) readLoop() {
//glog.Info("协程的数量 :", runtime.NumGoroutine())
//this.Connection.Close()
//runtime.Goexit()
return
//return
//default:
// fmt.Println("Channel is empty, unable to read data")
}
Expand Down Expand Up @@ -98,7 +98,7 @@ func (this *OnlineUser) handleLoop() {
//glog.Info("协程的数量 :", runtime.NumGoroutine())
//this.Connection.Close()
//runtime.Goexit()
return
//return
}
if len(r.req) <= 0 {
continue
Expand Down

0 comments on commit 5047265

Please sign in to comment.