Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit f5e11fe

Browse files
committed
Log hosts count for better debugging
1 parent aebda85 commit f5e11fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/acr/browser/lightning/adblock/BloomFilterAdBlocker.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class BloomFilterAdBlocker @Inject constructor(
8484
}
8585
}
8686
.flatMapSingleElement {
87+
logger.log(TAG, "Loaded ${it.size} hosts")
8788
// Clear out the old hosts and bloom filter now that we have the new hosts.
8889
hostsRepository.removeAllHosts()
8990
.andThen(hostsRepository.addHosts(it))

0 commit comments

Comments
 (0)