mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
Fixed compilation issue
This commit is contained in:
parent
7c1efeaaaa
commit
5e44d3f808
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user