Minor refactoring

pull/214/head
nielsandriesse 5 years ago
parent 8843e8c495
commit 1b61330669

@ -44,7 +44,7 @@ final class IP2Country {
}
@objc func populateCacheIfNeededAsync() {
DispatchQueue.global(qos: .userInitiated).async {
DispatchQueue.global(qos: .utility).async {
let _ = self.populateCacheIfNeeded()
}
}

@ -154,7 +154,7 @@ final class HomeVC : BaseVC, UITableViewDataSource, UITableViewDelegate, UIScrol
appDelegate.startRSSFeedPollersIfNeeded()
}
// Populate onion request path countries cache
DispatchQueue.global(qos: .default).async {
DispatchQueue.global(qos: .utility).async {
let _ = IP2Country.shared.populateCacheIfNeeded()
}
// Do initial update

Loading…
Cancel
Save