reduce to 2 seconds

This commit is contained in:
Evgeny Poberezkin
2024-08-02 12:39:02 +01:00
parent 65055e2582
commit ba0e61b422
+1 -1
View File
@@ -621,7 +621,7 @@ final class ChatModel: ObservableObject {
init() {
subject
.throttle(for: 3, scheduler: DispatchQueue.main, latest: true)
.throttle(for: 2, scheduler: DispatchQueue.main, latest: true)
.sink { self.popRecentChats() }
.store(in: &bag)
}