Pull request: AGDNS-2342-upd-golibs
Squashed commit of the following: commit 82140ab77775b32ea10d7cd011f2bdc2410f9b92 Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Tue Aug 6 11:25:13 2024 +0500 all: upd golibs
This commit is contained in:
@@ -7,10 +7,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/AdguardTeam/AdGuardHome/internal/aghalg"
|
||||
"github.com/AdguardTeam/AdGuardHome/internal/aghhttp"
|
||||
"github.com/AdguardTeam/AdGuardHome/internal/aghnet"
|
||||
"github.com/AdguardTeam/AdGuardHome/internal/filtering"
|
||||
"github.com/AdguardTeam/golibs/container"
|
||||
"github.com/AdguardTeam/golibs/errors"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
@@ -153,7 +153,7 @@ func newQueryLog(conf Config) (l *queryLog, err error) {
|
||||
l = &queryLog{
|
||||
findClient: findClient,
|
||||
|
||||
buffer: aghalg.NewRingBuffer[*logEntry](memSize),
|
||||
buffer: container.NewRingBuffer[*logEntry](memSize),
|
||||
|
||||
conf: &Config{},
|
||||
confMu: &sync.RWMutex{},
|
||||
|
||||
Reference in New Issue
Block a user