mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-02 06:00:25 +03:00
After filters were redownloaded and deemed to be fresh, tell coredns server to reload
This commit is contained in:
parent
876854d403
commit
fe397943d6
1 changed files with 1 additions and 0 deletions
|
@ -851,6 +851,7 @@ func refreshFiltersIfNeccessary() int {
|
||||||
errortext := fmt.Sprintf("Couldn't write filter file: %s", err)
|
errortext := fmt.Sprintf("Couldn't write filter file: %s", err)
|
||||||
log.Println(errortext)
|
log.Println(errortext)
|
||||||
}
|
}
|
||||||
|
tellCoreDNSToReload()
|
||||||
}
|
}
|
||||||
return updateCount
|
return updateCount
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue