Skip to content

Commit

Permalink
test: for pressure test.
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon <[email protected]>
  • Loading branch information
FGadvancer committed Sep 8, 2023
1 parent 8b34d36 commit bfd7f49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/msggateway/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ func (c *Client) ResetClient(

func (c *Client) pingHandler(_ string) error {
c.conn.SetReadDeadline(pongWait)
err := c.writePongMsg()
if err != nil {
return err
}
return nil
}

Expand Down

0 comments on commit bfd7f49

Please sign in to comment.