mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 23:28:08 +03:00
- fix build: we're using a new gcache module now
This commit is contained in:
parent
d46ebe1c8b
commit
b37208564b
1 changed files with 3 additions and 3 deletions
|
@ -282,9 +282,9 @@ func (d *dayTop) getStatsTop() *StatsTop {
|
|||
d.hoursReadLock()
|
||||
for hour := 0; hour < 24; hour++ {
|
||||
d.hours[hour].RLock()
|
||||
do(d.hours[hour].domains.Keys(), d.hours[hour].lockedGetDomains, s.Domains)
|
||||
do(d.hours[hour].blocked.Keys(), d.hours[hour].lockedGetBlocked, s.Blocked)
|
||||
do(d.hours[hour].clients.Keys(), d.hours[hour].lockedGetClients, s.Clients)
|
||||
do(d.hours[hour].domains.Keys(false), d.hours[hour].lockedGetDomains, s.Domains)
|
||||
do(d.hours[hour].blocked.Keys(false), d.hours[hour].lockedGetBlocked, s.Blocked)
|
||||
do(d.hours[hour].clients.Keys(false), d.hours[hour].lockedGetClients, s.Clients)
|
||||
d.hours[hour].RUnlock()
|
||||
}
|
||||
d.hoursReadUnlock()
|
||||
|
|
Loading…
Reference in a new issue