chart subscription fixes
This commit is contained in:
1
pool.js
1
pool.js
@@ -34,6 +34,7 @@ export async function subOHLCs( socket, chainId, poolPeriods) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function unsubOHLCs( socket, chainId, poolPeriods ) {
|
export function unsubOHLCs( socket, chainId, poolPeriods ) {
|
||||||
|
console.log('unsubOHLCs', chainId, poolPeriods)
|
||||||
for(const key of poolPeriods) {
|
for(const key of poolPeriods) {
|
||||||
const room = `${chainId}|${key}`;
|
const room = `${chainId}|${key}`;
|
||||||
socket.leave(room)
|
socket.leave(room)
|
||||||
|
|||||||
Reference in New Issue
Block a user