Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainreactors/EvilProxy
/ NotifyUsageRefresh
Function
NotifyUsageRefresh
internal/redisqueue/queue.go:106–108 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
104
}
105
106
func
NotifyUsageRefresh() {
107
global.publishToSubscribers([]byte(usageRefreshPayload))
108
}
109
110
func
(q *queue) clear() {
111
q.mu.Lock()
Callers
4
reloadClients
Method · 0.92
addOrUpdateClientLocked
Method · 0.92
removeClientLocked
Method · 0.92
TestNotifyUsageRefreshBroadcastsOnlyToUsageSubscribers
Function · 0.85
Calls
1
publishToSubscribers
Method · 0.80
Tested by
1
TestNotifyUsageRefreshBroadcastsOnlyToUsageSubscribers
Function · 0.68