Disabled appMessage server; not as pretty, but actually works
This commit is contained in:
parent
2e90d0a6b7
commit
45bbb0fc93
@ -37,7 +37,7 @@ import Data.Maybe (mapMaybe)
|
||||
|
||||
appMessage :: L.ByteString -> IO ()
|
||||
appMessage l = forever $ do
|
||||
run 3000 . const . return $ responseLBS status500 [("Content-Type", "text/plain")] l
|
||||
-- run 3000 . const . return $ responseLBS status500 [("Content-Type", "text/plain")] l
|
||||
threadDelay 10000
|
||||
|
||||
swapApp :: I.IORef ThreadId -> IO ThreadId -> IO ()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user