mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
Disables optimizations on Hasura.Server.Init module
When compiling the graphql-engine binary with `-O2`, ghc-8.10 seems to be stuck at the module `Server.Init` while consuming `17G` of RAM (for 5 minutes at least before I forcefully terminated the compilation). With this pragma, ghc-8.10 now takes under `12G` to compile graphql-engine binary.
This commit is contained in:
parent
16d01bc908
commit
2d2def8ecb
@ -1,5 +1,6 @@
|
||||
-- | Types and functions related to the server initialisation
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# OPTIONS_GHC -O0 #-}
|
||||
module Hasura.Server.Init
|
||||
( DbUid(..)
|
||||
, getDbId
|
||||
|
Loading…
Reference in New Issue
Block a user