diff --git a/package.yaml b/package.yaml index 0346ab395..a7bb6ce1e 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: simplexmq -version: 5.5.0.1 +version: 5.5.0.2 synopsis: SimpleXMQ message broker description: | This package includes <./docs/Simplex-Messaging-Server.html server>, diff --git a/simplexmq.cabal b/simplexmq.cabal index f2929f8d1..931817e41 100644 --- a/simplexmq.cabal +++ b/simplexmq.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: simplexmq -version: 5.5.0.1 +version: 5.5.0.2 synopsis: SimpleXMQ message broker description: This package includes <./docs/Simplex-Messaging-Server.html server>, <./docs/Simplex-Messaging-Client.html client> and diff --git a/src/Simplex/FileTransfer/Server/Main.hs b/src/Simplex/FileTransfer/Server/Main.hs index 0dee944fb..4491614e3 100644 --- a/src/Simplex/FileTransfer/Server/Main.hs +++ b/src/Simplex/FileTransfer/Server/Main.hs @@ -33,7 +33,7 @@ import System.IO (BufferMode (..), hSetBuffering, stderr, stdout) import Text.Read (readMaybe) xftpServerVersion :: String -xftpServerVersion = "1.2.0.1" +xftpServerVersion = "1.2.0.2" xftpServerCLI :: FilePath -> FilePath -> IO () xftpServerCLI cfgPath logPath = do @@ -105,9 +105,9 @@ xftpServerCLI cfgPath logPath = do <> ("path: " <> filesPath <> "\n") <> ("storage_quota: " <> B.unpack (strEncode fileSizeQuota) <> "\n") <> "\n\ - \[INACTIVE_CLIENTS]\n\ - \# TTL and interval to check inactive clients\n\ - \disconnect: off\n" + \[INACTIVE_CLIENTS]\n\ + \# TTL and interval to check inactive clients\n\ + \disconnect: off\n" <> ("# ttl: " <> show (ttl defaultInactiveClientExpiration) <> "\n") <> ("# check_interval: " <> show (checkInterval defaultInactiveClientExpiration) <> "\n") runServer ini = do diff --git a/src/Simplex/Messaging/Notifications/Server/Main.hs b/src/Simplex/Messaging/Notifications/Server/Main.hs index 7ce0df348..0b47e09df 100644 --- a/src/Simplex/Messaging/Notifications/Server/Main.hs +++ b/src/Simplex/Messaging/Notifications/Server/Main.hs @@ -30,7 +30,7 @@ import System.IO (BufferMode (..), hSetBuffering, stderr, stdout) import Text.Read (readMaybe) ntfServerVersion :: String -ntfServerVersion = "1.7.0.1" +ntfServerVersion = "1.7.0.2" defaultSMPBatchDelay :: Int defaultSMPBatchDelay = 10000 @@ -88,9 +88,9 @@ ntfServerCLI cfgPath logPath = \# delay between command batches sent to SMP relays (microseconds), 0 to disable\n" <> ("smp_batch_delay: " <> show defaultSMPBatchDelay <> "\n") <> "websockets: off\n\n\ - \[INACTIVE_CLIENTS]\n\ - \# TTL and interval to check inactive clients\n\ - \disconnect: off\n" + \[INACTIVE_CLIENTS]\n\ + \# TTL and interval to check inactive clients\n\ + \disconnect: off\n" <> ("# ttl: " <> show (ttl defaultInactiveClientExpiration) <> "\n") <> ("# check_interval: " <> show (checkInterval defaultInactiveClientExpiration) <> "\n") runServer ini = do