avoid fromIntegral overhead

This commit is contained in:
Joey Hess 2015-02-16 17:22:00 -04:00
parent 4e0a678a99
commit 99a1287f4f
2 changed files with 4 additions and 4 deletions

View file

@ -75,4 +75,4 @@ inDb h k = H.runDb h $ do
- fsck left off, and making too many commits which slows down the fsck
- of lots of small or not present files. -}
commitPolicy :: H.CommitPolicy
commitPolicy = H.CommitAfterSeconds 60
commitPolicy = H.CommitAfter (fromIntegral (60 :: Int))