Skip to content

Commit 3683a6d

Browse files
committed
Added more infos about connection and disconnection in realtime "getStatus"
1 parent 5f82df7 commit 3683a6d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/realtime.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,11 @@ function getStatus(callback) {
164164
notesCount: data.rows[0].count,
165165
registeredUsers: regcount,
166166
onlineRegisteredUsers: regaddresses.length,
167-
distinctOnlineRegisteredUsers: distinctregaddresses.length
167+
distinctOnlineRegisteredUsers: distinctregaddresses.length,
168+
isConnectionBusy: isConnectionBusy,
169+
connectionSocketQueueLength: connectionSocketQueue.length,
170+
isDisconnectBusy: isDisconnectBusy,
171+
disconnectSocketQueueLength: disconnectSocketQueue.length
168172
});
169173
});
170174
});

0 commit comments

Comments
 (0)