mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
core: 6.2.0.0 (simplexmq: 6.2.0.3)
This commit is contained in:
+3
-1
@@ -439,6 +439,8 @@ smpServerCfg =
|
||||
controlPortUserAuth = Nothing,
|
||||
controlPortAdminAuth = Nothing,
|
||||
messageExpiration = Just defaultMessageExpiration,
|
||||
expireMessagesOnStart = False,
|
||||
idleQueueInterval = defaultIdleQueueInterval,
|
||||
notificationExpiration = defaultNtfExpiration,
|
||||
inactiveClientExpiration = Just defaultInactiveClientExpiration,
|
||||
smpCredentials =
|
||||
@@ -524,7 +526,7 @@ serverBracket server f = do
|
||||
started <- newEmptyTMVarIO
|
||||
bracket
|
||||
(forkIOWithUnmask ($ server started))
|
||||
(\t -> killThread t >> waitFor started "stop")
|
||||
(\t -> killThread t >> waitFor started "stop" >> threadDelay 100000)
|
||||
(\_ -> waitFor started "start" >> f)
|
||||
where
|
||||
waitFor started s =
|
||||
|
||||
Reference in New Issue
Block a user