mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 13:17:13 +00:00
Fix "cb is not a function" error in streaming API server (#16134)
Third argument of `ping` is the callback Regression from #15932
This commit is contained in:
parent
aafe65a142
commit
c5c46dd6ee
|
@ -1062,7 +1062,7 @@ const startWorker = (workerId) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
ws.isAlive = false;
|
ws.isAlive = false;
|
||||||
ws.ping('', false, true);
|
ws.ping('', false);
|
||||||
});
|
});
|
||||||
}, 30000);
|
}, 30000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue