module Handler.CompressorStatus where import Import getCompressorStatusR :: Handler Html getCompressorStatusR = do status <- getYesod >>= readIORef . compressorStatus defaultLayout $ do setTitle "Compressor thread status" [whamlet|

Compressor thread status

#{status} |]