Follow Int to Int64 changes in ekg-core

This commit is contained in:
Johan Tibell 2014-04-21 11:42:14 +02:00
parent 0f8352cff3
commit 404c891610

View file

@ -44,6 +44,7 @@ module System.Remote.Monitoring
import Control.Concurrent (ThreadId, forkIO)
import qualified Data.ByteString as S
import Data.Int (Int64)
import qualified Data.Text as T
import Data.Time.Clock.POSIX (getPOSIXTime)
import Prelude hiding (read)
@ -207,7 +208,7 @@ forkServerWith store host port = do
tid <- forkIO $ startServer store host port
return $! Server tid store
where
getTimeMs :: IO Int
getTimeMs :: IO Int64
getTimeMs = (round . (* 1000)) `fmap` getPOSIXTime
------------------------------------------------------------------------