summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/AddressCache
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-05-31 14:08:08 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-06-08 12:31:16 +0200
commit998dbb21500e2aebad92dab319fc48da265042f6 (patch)
treef52ca2041232f6d29821b77b9794364d8b04d2ef /ios/MullvadVPN/AddressCache
parent0302e8fa731ba27d6121a9409b4f4fa75b201665 (diff)
downloadmullvadvpn-998dbb21500e2aebad92dab319fc48da265042f6.tar.xz
mullvadvpn-998dbb21500e2aebad92dab319fc48da265042f6.zip
Switch to AsyncOperationQueue
Diffstat (limited to 'ios/MullvadVPN/AddressCache')
-rw-r--r--ios/MullvadVPN/AddressCache/AddressCacheTracker.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/AddressCache/AddressCacheTracker.swift b/ios/MullvadVPN/AddressCache/AddressCacheTracker.swift
index d0b7babb93..e42c4ef576 100644
--- a/ios/MullvadVPN/AddressCache/AddressCacheTracker.swift
+++ b/ios/MullvadVPN/AddressCache/AddressCacheTracker.swift
@@ -37,8 +37,8 @@ extension AddressCache {
private var timer: DispatchSourceTimer?
/// Operation queue.
- private let operationQueue: OperationQueue = {
- let operationQueue = OperationQueue()
+ private let operationQueue: AsyncOperationQueue = {
+ let operationQueue = AsyncOperationQueue()
operationQueue.maxConcurrentOperationCount = 1
return operationQueue
}()