Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Commit

Permalink
Update dispatch queue name
Browse files Browse the repository at this point in the history
  • Loading branch information
cardoso committed Dec 7, 2018
1 parent 715a78e commit 8374be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rocket.Chat/Helpers/RealmAssorter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import DifferenceKit
typealias IndexPathsChanges = (deletions: [IndexPath], insertions: [IndexPath], modifications: [IndexPath])

let subscriptionUpdatesHandlerQueue = DispatchQueue(label: "chat.rocket.subscription.updates.handler", qos: .background)
let subscriptionUpdatesHandlerQueue2 = DispatchQueue(label: "chat.rocket.subscription.updates.handler2", qos: .background)
let sectionBuildingQueue = DispatchQueue(label: "chat.rocket.section.building", qos: .background)

class RealmAssorter<Object: RealmSwift.Object & UnmanagedConvertible> {
typealias IndexPathsChangesEvent = (StagedChangeset<[ArraySection<String, Object.UnmanagedType>]>, (_ newData: [ArraySection<String, Object.UnmanagedType>]) -> Void) -> Void
Expand All @@ -26,7 +26,7 @@ class RealmAssorter<Object: RealmSwift.Object & UnmanagedConvertible> {
return $0.value(forKeyPath: "identifier") as? String
}

subscriptionUpdatesHandlerQueue2.async {
sectionBuildingQueue.async {
guard
let configuration = self.objects.realm?.configuration,
let realm = try? Realm(configuration: configuration)
Expand Down

0 comments on commit 8374be4

Please sign in to comment.