Minor refactoring
This commit is contained in:
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…
Reference in New Issue