mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
User Persona and Merchant Dashboard
User Persona and Merchant Dashboard
This commit is contained in:
parent
2f5817cb36
commit
79d04a5d7a
44 changed files with 262 additions and 262 deletions
4
rtl.js
4
rtl.js
|
|
@ -65,10 +65,10 @@ const loopMonitor = io.of('/loopMonitor').on('connection', (socket) => {
|
|||
interval = setInterval(() => {
|
||||
socket.emit('message', { message: 'Message ' + i });
|
||||
i++;
|
||||
}, 2000);
|
||||
}, 15000);
|
||||
});
|
||||
socket.on('end', function() {
|
||||
// call = null;
|
||||
call = null;
|
||||
clearInterval(interval);
|
||||
console.log('Socket stopped subscription');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue