Skip to content

Commit

Permalink
worker: fix bug where subscription limit is not being handled properly
Browse files Browse the repository at this point in the history
Signed-off-by: Yonle <yonle@lecturify.net>
  • Loading branch information
Yonle committed May 20, 2024
1 parent 2582700 commit 845aa5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker_bouncer.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ parentPort.on('message', m => {
return parentPort.postMessage({
type: "upstream_msg",
id: m.id,
data: JSON.stringify(["CLOSED", data[1], "rate-limited: too many subscriptions."])
data: JSON.stringify(["CLOSED", m.sid, "rate-limited: too many subscriptions."])
});
const origID = m.sid;
if (ws.fakesubalias.hasOwnProperty(origID)) {
Expand Down

0 comments on commit 845aa5b

Please sign in to comment.