all: imp stats log msg
This commit is contained in:
parent
73ff401b0f
commit
9558de14ef
|
@ -31,6 +31,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Repetitive statistics log messages ([#7338]).
|
||||||
- Custom client cache ([#7250]).
|
- Custom client cache ([#7250]).
|
||||||
- Missing runtime clients with information from the system hosts file on first
|
- Missing runtime clients with information from the system hosts file on first
|
||||||
AdGuard Home start ([#7315]).
|
AdGuard Home start ([#7315]).
|
||||||
|
@ -38,6 +39,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
||||||
[#6818]: https://github.com/AdguardTeam/AdGuardHome/issues/6818
|
[#6818]: https://github.com/AdguardTeam/AdGuardHome/issues/6818
|
||||||
[#7250]: https://github.com/AdguardTeam/AdGuardHome/issues/7250
|
[#7250]: https://github.com/AdguardTeam/AdGuardHome/issues/7250
|
||||||
[#7315]: https://github.com/AdguardTeam/AdGuardHome/issues/7315
|
[#7315]: https://github.com/AdguardTeam/AdGuardHome/issues/7315
|
||||||
|
[#7338]: https://github.com/AdguardTeam/AdGuardHome/issues/7338
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
NOTE: Add new changes ABOVE THIS COMMENT.
|
NOTE: Add new changes ABOVE THIS COMMENT.
|
||||||
|
|
|
@ -467,7 +467,7 @@ func (s *StatsCtx) flushDB(id, limit uint32, ptr *unit) (cont bool, sleepFor tim
|
||||||
if delErr != nil {
|
if delErr != nil {
|
||||||
// TODO(e.burkov): Improve the algorithm of deleting the oldest bucket
|
// TODO(e.burkov): Improve the algorithm of deleting the oldest bucket
|
||||||
// to avoid the error.
|
// to avoid the error.
|
||||||
lvl := slog.LevelWarn
|
lvl := slog.LevelDebug
|
||||||
if !errors.Is(delErr, bbolt.ErrBucketNotFound) {
|
if !errors.Is(delErr, bbolt.ErrBucketNotFound) {
|
||||||
isCommitable = false
|
isCommitable = false
|
||||||
lvl = slog.LevelError
|
lvl = slog.LevelError
|
||||||
|
|
Loading…
Reference in New Issue