1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-09-11 17:15:34 +03:00

Use target in fifo cache

This commit is contained in:
Tae Won Ha 2020-12-12 21:51:50 +01:00
parent 2ba1aaf526
commit f9776d91d9
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -14,7 +14,8 @@ public final class FifoCache<Key: Hashable, Value> {
self.queue = DispatchQueue(
label: "\(String(reflecting: FifoCache.self))-\(UUID().uuidString)",
qos: queueQos,
attributes: [.concurrent]
attributes: [.concurrent],
target: .global(qos: queueQos.qosClass)
)
}