Skip to content

Commit

Permalink
Add qos: parameter to our DispatchQueues to avoid console errors star…
Browse files Browse the repository at this point in the history
…ting the SDK
  • Loading branch information
gazreese committed Apr 22, 2024
1 parent b99cd7e commit 6e05ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FlagsmithClient/Classes/Internal/APIManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ final class APIManager : NSObject, URLSessionDataDelegate, @unchecked Sendable {
// store the completion handlers and accumulated data for each task
private var tasksToCompletionHandlers:[Int: @Sendable(Result<Data, any Error>) -> Void] = [:]
private var tasksToData:[Int:Data] = [:]
private let serialAccessQueue = DispatchQueue(label: "flagsmithSerialAccessQueue")
let propertiesSerialAccessQueue = DispatchQueue(label: "propertiesSerialAccessQueue")
private let serialAccessQueue = DispatchQueue(label: "flagsmithSerialAccessQueue", qos: .default)
let propertiesSerialAccessQueue = DispatchQueue(label: "propertiesSerialAccessQueue", qos: .default)

override init() {
super.init()
Expand Down

0 comments on commit 6e05ea8

Please sign in to comment.