about summary refs log tree commit diff
path: root/streaming
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2021-05-02 14:30:26 +0200
committerGitHub <noreply@github.com>2021-05-02 14:30:26 +0200
commitc5c46dd6ee7f54a25c08216d957af45e68a20131 (patch)
tree054387b7348dd39828a095ba0266e375bf96911c /streaming
parentaafe65a14254d27e11a5d61a97314869bcc80fea (diff)
Fix "cb is not a function" error in streaming API server (#16134)
Third argument of `ping` is the callback

Regression from #15932
Diffstat (limited to 'streaming')
-rw-r--r--streaming/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js
index 0af80daad..7bb645a13 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -1062,7 +1062,7 @@ const startWorker = (workerId) => {
       }
 
       ws.isAlive = false;
-      ws.ping('', false, true);
+      ws.ping('', false);
     });
   }, 30000);