Skip to content

Commit 47d3ac5

Browse files
committed
fix autoping functionality (#7)
1 parent f79e786 commit 47d3ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hapi-plugin-websocket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const register = async (server, pluginOptions) => {
183183
ws.terminate()
184184
else {
185185
ws.isAlive = false
186-
ws.ping("", false, true)
186+
ws.ping("", false)
187187
}
188188
})
189189
}, routeOptions.autoping)

0 commit comments

Comments
 (0)