mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-23 05:25:35 +03:00
* whois/rdns: process up to 100 top clients on startup
This commit is contained in:
parent
51f9d7e4df
commit
8676cabc42
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ func initDNSServer() {
|
|||
config.dnsctx.rdns = InitRDNS(&config.clients)
|
||||
config.dnsctx.whois = initWhois(&config.clients)
|
||||
|
||||
const topClientsNumber = 30 // the number of clients to get
|
||||
const topClientsNumber = 100 // the number of clients to get
|
||||
topClients := config.stats.GetTopClientsIP(topClientsNumber)
|
||||
for _, ip := range topClients {
|
||||
ipAddr := net.ParseIP(ip)
|
||||
|
|
Loading…
Reference in a new issue