move chats every 3 seconds

This commit is contained in:
Evgeny Poberezkin
2024-08-01 21:10:06 +01:00
parent 4dbefcce32
commit 25d39877f4
+1 -1
View File
@@ -614,7 +614,7 @@ final class ChatModel: ObservableObject {
init() {
subject
.throttle(for: 10, scheduler: DispatchQueue.main, latest: true)
.throttle(for: 3, scheduler: DispatchQueue.main, latest: true)
.sink { self.popRecentChats() }
.store(in: &bag)
}