Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't log if pruneCacheAge didn't prune anything #6186

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

bbrks
Copy link
Member

@bbrks bbrks commented Apr 13, 2023

We don't log when we don't prune based on length, so don't do it based on age either:

[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."
[DBG] Cache+: c:db-CleanAgedItems-1234 Pruned 0 old entries from channel "..."

@bbrks bbrks merged commit 18745c3 into master Apr 13, 2023
@bbrks bbrks deleted the reduce_pruneCacheAge_logging branch April 13, 2023 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants