diff --git a/CHANGELOG.md b/CHANGELOG.md index 69c56b9d..95b7505d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### 0.10.3 +- **Fix**: `mappingQueue` of `SessionManager`. + ### 0.10.2 - **Add**: `RefreshControl` - a basic UIRefreshControl with fixed refresh action. diff --git a/LeadKit.podspec b/LeadKit.podspec index f2c5d9de..02549dca 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.10.2" + s.version = "0.10.3" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKit" s.license = "Apache License, Version 2.0" diff --git a/Sources/Structures/NetworkService/NetworkServiceConfiguration.swift b/Sources/Structures/NetworkService/NetworkServiceConfiguration.swift index 1bcac763..fb34f3f5 100644 --- a/Sources/Structures/NetworkService/NetworkServiceConfiguration.swift +++ b/Sources/Structures/NetworkService/NetworkServiceConfiguration.swift @@ -72,7 +72,7 @@ public extension NetworkServiceConfiguration { serverTrustManager: ServerTrustManager(allHostsMustBeEvaluated: !serverTrustPolicies.isEmpty, evaluators: serverTrustPolicies), acceptableStatusCodes: acceptableStatusCodes, - mappingQueue: .global()) + mappingQueue: DispatchQueue(label: .mappingQueueLabel, qos: .default)) } /// Convenient method to create ApiRequestParameters. @@ -123,3 +123,7 @@ public extension NetworkServiceConfiguration { headers: requestHeaders) } } + +private extension String { + static let mappingQueueLabel = "leadkit.session.rootQueue" +}