diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:55:06 +0100 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:55:06 +0100 |
commit | a5a5e7f275de6ec9784f75a3e2d313e4eee807fa (patch) | |
tree | ffdb76e5a312ce4490b04265c7301463b8958729 /app/Config.hs |
Diffstat (limited to 'app/Config.hs')
-rw-r--r-- | app/Config.hs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/Config.hs b/app/Config.hs new file mode 100644 index 0000000..f704804 --- /dev/null +++ b/app/Config.hs @@ -0,0 +1,19 @@ +{-# LANGUAGE Strict #-} + +module Config + ( coreCount + , coreSize + , syncInterval + ) where + +import Data.Bits ((!<<.)) +import Data.Word (Word64) + +coreCount :: Int +coreCount = 2 + +coreSize :: Word64 +coreSize = 1 !<<. 20 + +syncInterval :: Int +syncInterval = 1 !<<. 20 |