mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00: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)
|
||
|
|
}
|