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

Commit 8374be4

Browse files
committed
Update dispatch queue name
1 parent 715a78e commit 8374be4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rocket.Chat/Helpers/RealmAssorter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import DifferenceKit
1212
typealias IndexPathsChanges = (deletions: [IndexPath], insertions: [IndexPath], modifications: [IndexPath])
1313

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

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

29-
subscriptionUpdatesHandlerQueue2.async {
29+
sectionBuildingQueue.async {
3030
guard
3131
let configuration = self.objects.realm?.configuration,
3232
let realm = try? Realm(configuration: configuration)

0 commit comments

Comments
 (0)