mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 03:17:59 +03:00
8 lines
336 B
Swift
8 lines
336 B
Swift
import Foundation
|
|
|
|
enum ImageProcessing {
|
|
static let queue = DispatchQueue(label: "thumbnail.processing", qos: .userInitiated, attributes: .concurrent)
|
|
static let semaphore = DispatchSemaphore(value: ProcessInfo.processInfo.activeProcessorCount * 2)
|
|
static let cancelledResult = Result<[String: Int64]?, any Error>.success(nil)
|
|
}
|