We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ef6b8 commit 98779eeCopy full SHA for 98779ee
close_notjs.go
@@ -84,7 +84,7 @@ func (c *Conn) writeClose(code StatusCode, reason string) error {
84
func (c *Conn) waitCloseHandshake() error {
85
defer c.close(nil)
86
87
- ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
+ ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
88
defer cancel()
89
90
err := c.readMu.lock(ctx)
0 commit comments