Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix WSS ping/pong
Browse files Browse the repository at this point in the history
Signed-off-by: Layne Bernardo <[email protected]>
LMBernardo committed Jun 16, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 72fac8a commit dea4e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LiveQuery/ParseWebSocketServer.js
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ export class ParseWebSocketServer {
wss.onConnection = ws => {
ws.waitingForPong = false;
ws.on('pong', () => {
this.waitingForPong = false;
ws.waitingForPong = false;
});
ws.on('error', error => {
logger.error(error.message);

0 comments on commit dea4e49

Please sign in to comment.