summaryrefslogtreecommitdiff
path: root/app/Config.hs
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 02:55:06 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 02:55:06 +0100
commita5a5e7f275de6ec9784f75a3e2d313e4eee807fa (patch)
treeffdb76e5a312ce4490b04265c7301463b8958729 /app/Config.hs
Initial (WIP)HEADmaster
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