Skip to content

Commit

Permalink
Pull request: 5010 revert default cache size
Browse files Browse the repository at this point in the history
Merge in DNS/adguard-home from 5010-default-settings to master

Updates AdguardTeam#5010.

Squashed commit of the following:

commit 19edb2c
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Oct 11 19:45:49 2022 +0300

    all: imp log of changes

commit a0ad92f
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Oct 11 19:34:37 2022 +0300

    home: revert default value
  • Loading branch information
EugeneOne1 committed Oct 11, 2022
1 parent 5604e33 commit f109fb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ and this project adheres to

### Fixed

- The default value of `dns.cache_size` accidentally set to 0 has now been
reverted to 4 MiB ([#5010]).
- Responses for which the DNSSEC validation had explicitly been omitted aren't
cached now ([#4942]).
- Web UI not switching to HTTP/3 ([#4986], [#4993]).
Expand All @@ -35,6 +37,7 @@ and this project adheres to
[#4942]: https://github.com/AdguardTeam/AdGuardHome/issues/4942
[#4986]: https://github.com/AdguardTeam/AdGuardHome/issues/4986
[#4993]: https://github.com/AdguardTeam/AdGuardHome/issues/4993
[#5010]: https://github.com/AdguardTeam/AdGuardHome/issues/5010

[clientid]: https://github.com/AdguardTeam/AdGuardHome/wiki/Clients#clientid

Expand Down
1 change: 1 addition & 0 deletions internal/home/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ var config = &configuration{
},

TrustedProxies: []string{"127.0.0.0/8", "::1/128"},
CacheSize: 4 * 1024 * 1024,

// set default maximum concurrent queries to 300
// we introduced a default limit due to this:
Expand Down

0 comments on commit f109fb1

Please sign in to comment.