Added more infos about connection and disconnection in realtime "getStatus"

This commit is contained in:
Wu Cheng-Han 2015-09-26 10:24:44 +08:00
parent 5f82df7eb2
commit 3683a6dd34
1 changed files with 5 additions and 1 deletions

View File

@ -164,7 +164,11 @@ function getStatus(callback) {
notesCount: data.rows[0].count,
registeredUsers: regcount,
onlineRegisteredUsers: regaddresses.length,
distinctOnlineRegisteredUsers: distinctregaddresses.length
distinctOnlineRegisteredUsers: distinctregaddresses.length,
isConnectionBusy: isConnectionBusy,
connectionSocketQueueLength: connectionSocketQueue.length,
isDisconnectBusy: isDisconnectBusy,
disconnectSocketQueueLength: disconnectSocketQueue.length
});
});
});