Reduced RoomSummaryProvider and RoomTimelineProvider throttle delay

Reduced RoomSummaryProvider throttle delay and disable the RoomTimelineProvider one entirely
This commit is contained in:
Stefan Ceriu
2022-11-22 17:25:49 +02:00
committed by Stefan Ceriu
parent 4d5f97b384
commit 3fd8642ce5
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
.store(in: &cancellables)
weakProvider.roomListDiffPublisher
.collect(.byTime(DispatchQueue.global(), 0.5))
.collect(.byTime(DispatchQueue.global(), 0.25))
.sink { self.updateRoomsWithDiffs($0) }
.store(in: &cancellables)

View File

@@ -53,7 +53,7 @@ class RoomTimelineProvider: RoomTimelineProviderProtocol {
roomTimelineListener
.itemsUpdatePublisher
.collect(.byTime(DispatchQueue.global(), 0.5))
.collect(.byTime(DispatchQueue.global(), 0.25))
.sink { self.updateItemsWithDiffs($0) }
.store(in: &cancellables)
}