mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-09-16 12:43:05 +00:00
SMP confirmation timeout recovery rfc (#357)
This commit is contained in:
@@ -252,6 +252,7 @@ joinConn c connId (CRInvitationUri (ConnReqUriData _ agentVRange (qUri :| _)) e2
|
||||
void $ enqueueMessage c connId' sq HELLO
|
||||
pure connId'
|
||||
Left e -> do
|
||||
-- TODO recovery for failure on network timeout, see rfcs/2022-04-20-smp-conf-timeout-recovery.md
|
||||
withStore (`deleteConn` connId')
|
||||
throwError e
|
||||
_ -> throwError $ AGENT A_VERSION
|
||||
|
||||
Reference in New Issue
Block a user