From 9c729bc777f1dbe2b7cdd088dd5a8a03f672afb7 Mon Sep 17 00:00:00 2001 From: jankun4 Date: Sun, 23 Jun 2024 17:52:22 +0200 Subject: [PATCH] [#1148] add -threaded flag to backend --- CHANGELOG.md | 1 + govtool/backend/vva-be.cabal | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c3d2a38e..f7f195c4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ changes. ### Fixed +- backend is now compiled with -threaded [Issue 1148](https://github.com/IntersectMBO/govtool/issues/1148) - drep/get-voting-power no longer throws 500 for non-existing dreps. Instead it returns 0 [Issue 1093](https://github.com/IntersectMBO/govtool/issues/1093) - proposal/list no longer throws 500 error when proposal's url is incorrect [Issue 1073](https://github.com/IntersectMBO/govtool/issues/1073) - drep/list sql fix (now the drep type is correct) [Issue 957](https://github.com/IntersectMBO/govtool/issues/957) diff --git a/govtool/backend/vva-be.cabal b/govtool/backend/vva-be.cabal index 1cea27716..a69b43acb 100644 --- a/govtool/backend/vva-be.cabal +++ b/govtool/backend/vva-be.cabal @@ -70,6 +70,7 @@ executable vva-be hs-source-dirs: app default-language: Haskell2010 + ghc-options: -threaded library hs-source-dirs: src @@ -118,3 +119,4 @@ library , VVA.Types , VVA.Network , VVA.Metadata + ghc-options: -threaded