chore: refactor param cache (#18377)
This commit is contained in:
parent
07fa1b64f8
commit
9e9c15ed58
14 changed files with 128 additions and 146 deletions
|
|
@ -142,7 +142,7 @@ func (h *SocketHub) broadcast(p util.Param) {
|
|||
}
|
||||
|
||||
// Run starts data and status distribution
|
||||
func (h *SocketHub) Run(in <-chan util.Param, cache *util.Cache) {
|
||||
func (h *SocketHub) Run(in <-chan util.Param, cache *util.ParamCache) {
|
||||
for {
|
||||
select {
|
||||
case client := <-h.register:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue