core: batch contact disconnections and re-subscriptions to one event per server (#564)

* core: batch contact disconnections and re-subscriptions to one event per server

* update simplexmq

* update query to use temp table

* remove old code
This commit is contained in:
Evgeny Poberezkin authored and GitHub committed 2022-04-25 09:17:12 +01:00
1 parent e87660974e
commit 0470f9cf36
8 files changed
+52 -15

No files matched your search

+2 -2
View File
@@ -221,8 +221,8 @@ data ChatResponse
| CRContactConnecting {contact :: Contact}
| CRContactConnected {contact :: Contact}
| CRContactAnotherClient {contact :: Contact}
| CRContactDisconnected {contact :: Contact}
| CRContactSubscribed {contact :: Contact}
| CRContactsDisconnected {server :: SMPServer, contactRefs :: [ContactRef]}
| CRContactsSubscribed {server :: SMPServer, contactRefs :: [ContactRef]}
| CRContactSubError {contact :: Contact, chatError :: ChatError}
| CRContactSubSummary {contactSubscriptions :: [ContactSubStatus]}
| CRGroupInvitation {groupInfo :: GroupInfo}