summaryrefslogtreecommitdiff
path: root/app/Config.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Config.hs')
-rw-r--r--app/Config.hs19
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