Added more infos about connection and disconnection in realtime "getStatus"
This commit is contained in:
@@ -164,7 +164,11 @@ function getStatus(callback) {
|
|||||||
notesCount: data.rows[0].count,
|
notesCount: data.rows[0].count,
|
||||||
registeredUsers: regcount,
|
registeredUsers: regcount,
|
||||||
onlineRegisteredUsers: regaddresses.length,
|
onlineRegisteredUsers: regaddresses.length,
|
||||||
distinctOnlineRegisteredUsers: distinctregaddresses.length
|
distinctOnlineRegisteredUsers: distinctregaddresses.length,
|
||||||
|
isConnectionBusy: isConnectionBusy,
|
||||||
|
connectionSocketQueueLength: connectionSocketQueue.length,
|
||||||
|
isDisconnectBusy: isDisconnectBusy,
|
||||||
|
disconnectSocketQueueLength: disconnectSocketQueue.length
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user