|
|
|
@ -76,7 +76,7 @@ const fanoutMsg = (channel, data) => {
|
|
|
|
|
data,
|
|
|
|
|
}
|
|
|
|
|
connections[k].connection.send(JSON.stringify(d))
|
|
|
|
|
} else if (connections[k].events.indexOf('streams:full') !== -1) {
|
|
|
|
|
if (connections[k].events.indexOf('streams:full') !== -1) {
|
|
|
|
|
const m = await crud['streams'].getAllPop()
|
|
|
|
|
const d = {
|
|
|
|
|
event: 'streams:full',
|
|
|
|
@ -84,6 +84,7 @@ const fanoutMsg = (channel, data) => {
|
|
|
|
|
}
|
|
|
|
|
connections[k].connection.send(JSON.stringify(d))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|