This commit is contained in:
Evgeny Poberezkin
2025-08-29 18:54:27 +01:00
parent 879bcb31c5
commit dec7186edb
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1370,7 +1370,7 @@ subscribeClientServices' c userId =
useService = liftIO $ (Just True ==) <$> TM.lookupIO userId (useClientServices c)
subscribe = do
srvs <- withStore' c (`getClientServiceServers` userId)
lift $ M.fromList . zip srvs <$> mapConcurrently (tryAgentError' . subscribeClientService c userId) srvs
lift $ M.fromList . zip srvs <$> mapConcurrently (tryAllErrors' . subscribeClientService c userId) srvs
-- requesting messages sequentially, to reduce memory usage
getConnectionMessages' :: AgentClient -> NonEmpty ConnMsgReq -> AM' (NonEmpty (Either AgentErrorType (Maybe SMPMsgMeta)))
+1
View File
@@ -724,6 +724,7 @@ testServiceDeliverSubscribe =
pure $ Just $ Just mId3
_ -> pure Nothing
]
Resp "" NoEntity SALL <- tGet1 sh
Resp "12" _ OK <- signSendRecv sh rKey ("12", rId, ACK mId3)
Resp "14" _ OK <- signSendRecv h sKey ("14", sId, _SEND "hello 4")
Resp "" _ (Msg mId4 msg4) <- tGet1 sh