test: for pressure test.

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
Gordon 2023-09-08 21:32:21 +08:00
parent 8b34d3695e
commit bfd7f49643

View File

@ -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
}