Fixed compilation issue

This commit is contained in:
SessionHero01 2024-10-23 15:17:37 +11:00
parent 7c1efeaaaa
commit 5e44d3f808
No known key found for this signature in database

View File

@ -106,6 +106,7 @@ class IP2Country internal constructor(
private fun populateCacheIfNeeded() { private fun populateCacheIfNeeded() {
GlobalScope.launch { GlobalScope.launch {
val start = System.currentTimeMillis()
OnionRequestAPI.paths.iterator().forEach { path -> OnionRequestAPI.paths.iterator().forEach { path ->
path.iterator().forEach { snode -> path.iterator().forEach { snode ->
cacheCountryForIP(snode.ip) // Preload if needed cacheCountryForIP(snode.ip) // Preload if needed