mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-23 15:12:26 +00:00
move Main to apps/smp-server
This commit is contained in:
1 parent
3d322f5fcf
commit
480ff86907
2 files changed
+13
-11
No files matched your search
-18
@@ -1,18 +0,0 @@
|
||||
module Main where
|
||||
|
||||
import Env.STM
|
||||
import Server (runSMPServer)
|
||||
|
||||
cfg :: Config
|
||||
cfg =
|
||||
Config
|
||||
{ tcpPort = "5223",
|
||||
queueSize = 16,
|
||||
connIdBytes = 12,
|
||||
msgIdBytes = 6
|
||||
}
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
putStrLn $ "Listening on port " ++ tcpPort cfg
|
||||
runSMPServer cfg
|
||||
Reference in new issue
Block a user