Skip to content

Commit

Permalink
timeout 30
Browse files Browse the repository at this point in the history
  • Loading branch information
skiffer-git committed Dec 2, 2021
1 parent dc7b453 commit 22d560f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_im_sdk/open_im_sdk_conversation_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ func (u *UserRelated) SendMessage(callback SendMsgCallBack, message, receiver, g
LogEnd("WriteMsg ", wsReq.OperationID, connSend)
if err != nil {
sdkLog("ws writeMsg err:,", wsReq.OperationID, err.Error(), tr)
time.Sleep(time.Duration(5) * time.Second)
time.Sleep(time.Duration(30) * time.Second)
} else {
sdkLog("writeMsg retry ok", wsReq.OperationID, tr)
SendFlag = true
Expand Down

0 comments on commit 22d560f

Please sign in to comment.