aboutsummaryrefslogtreecommitdiffstats
path: root/app/Issue.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-12-07 03:55:45 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-12-07 03:55:47 +0100
commit3c6e62b75293b6625509ade3c278fc2d4d147c30 (patch)
treeb33f76c2634a771879f9178cff8e5335e43d2f43 /app/Issue.hs
parenta5dde0c6e1c1f54a1660f6c2345277927beef30f (diff)
chore: increase performance by caching everything
Initial cache generation is slower, as we are losing out on parallelism.
Diffstat (limited to 'app/Issue.hs')
-rw-r--r--app/Issue.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Issue.hs b/app/Issue.hs
index 303862d..2b9e568 100644
--- a/app/Issue.hs
+++ b/app/Issue.hs
@@ -44,7 +44,7 @@ data Issue = Issue
--
-- @related reduce-cached-data-size
instance Binary D.Node where
- put = put . show . P.render
+ put = put . T.pack . show . P.render
get = D.commonmarkToNode [] <$> get
id :: Issue -> T.Text