mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-15 17:46:55 +00:00
change global sub to ClientInfo, remove ip output
This commit is contained in:
parent
3802dea35c
commit
00175cad39
4 changed files with 57 additions and 18 deletions
|
@ -119,9 +119,9 @@ func updatePeriodicStats() {
|
|||
Statistics.PubSubChannelCount = len(ChatSubscriptionInfo)
|
||||
ChatSubscriptionLock.RUnlock()
|
||||
|
||||
GlobalSubscriptionInfo.RLock()
|
||||
Statistics.CurrentClientCount = uint64(len(GlobalSubscriptionInfo.Members))
|
||||
GlobalSubscriptionInfo.RUnlock()
|
||||
GlobalSubscriptionLock.RLock()
|
||||
Statistics.CurrentClientCount = uint64(len(GlobalSubscriptionInfo))
|
||||
GlobalSubscriptionLock.RUnlock()
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue