Get rid of maxInterval from CoalescingQueue because it didn’t actually work right and isn’t probably needed.

This commit is contained in:
Brent Simmons
2024-06-16 13:02:16 -07:00
parent 9227924f4e
commit 64fc1867c4
6 changed files with 19 additions and 15 deletions

View File

@@ -48,7 +48,7 @@ import Images
}
#endif
private let fetchUnreadCountsQueue = CoalescingQueue(name: "SmartFeed", interval: 1.0, maxInterval: 2.0)
private let fetchUnreadCountsQueue = CoalescingQueue(name: "SmartFeed", interval: 1.0)
private var fetchUnreadCountsTask: Task<Void, Never>?
private let delegate: SmartFeedDelegate