This commit is contained in:
Efim Poberezkin
2021-09-09 01:30:39 +10:00
committed by GitHub
parent da071a0abf
commit 862f25500d
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: simplexmq
version: 0.3.2
version: 0.4.0
synopsis: SimpleXMQ message broker
description: |
This package includes <./docs/Simplex-Messaging-Server.html server>,
@@ -3,7 +3,7 @@
"token": "{{env `DIGITALOCEAN_TOKEN`}}",
"image_name": "smp-server-snapshot",
"application_name": "SMP server",
"release_tag": "v0.3.2"
"release_tag": "v0.4.0"
},
"sensitive-variables": ["token"],
"builders": [
+2 -2
View File
@@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 5169db4a4922766c79f08cbdb91d4c765520372273ab432569eba25a253a8dbb
-- hash: e25d53dc1b12c8bcdf029091182613198be5271348ea19174b6532d820fe1fc9
name: simplexmq
version: 0.3.2
version: 0.4.0
synopsis: SimpleXMQ message broker
description: This package includes <./docs/Simplex-Messaging-Server.html server>,
<./docs/Simplex-Messaging-Client.html client> and
+1 -1
View File
@@ -106,7 +106,7 @@ runSMPAgentBlocking (ATransport t) started cfg@AgentConfig {tcpPort} = runReader
where
smpAgent :: forall c m'. (Transport c, MonadUnliftIO m', MonadReader Env m') => TProxy c -> m' ()
smpAgent _ = runTransportServer started tcpPort $ \(h :: c) -> do
liftIO $ putLn h "Welcome to SMP v0.3.2 agent"
liftIO $ putLn h "Welcome to SMP v0.4.0 agent"
c <- getAgentClient
logConnection c True
race_ (connectClient h c) (runAgentClient c)
+1 -1
View File
@@ -189,7 +189,7 @@ testSMPAgentClientOn :: (Transport c, MonadUnliftIO m) => ServiceName -> (c -> m
testSMPAgentClientOn port' client = do
runTransportClient agentTestHost port' $ \h -> do
line <- liftIO $ getLn h
if line == "Welcome to SMP v0.3.2 agent"
if line == "Welcome to SMP v0.4.0 agent"
then client h
else error $ "wrong welcome message: " <> B.unpack line