Commit 9b33568d authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

Merge branch 'epo-patents' into 'master'

Epo patents

See merge request !9
parents 40135d16 c5c835a9
......@@ -111,6 +111,7 @@ executable gargantext-prelude-exe
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImportQualifiedPost
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
......@@ -173,6 +174,7 @@ test-suite gargantext-prelude-test
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImportQualifiedPost
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
......
......@@ -53,6 +53,8 @@ data GargConfig = GargConfig { _gc_backend_name :: !T.Text
, _gc_js_job_timeout :: !Integer
, _gc_js_id_timeout :: !Integer
, _gc_epo_api_url :: !T.Text
}
deriving (Generic, Show)
......@@ -95,4 +97,5 @@ readConfig fp = do
, _gc_pubmed_api_key = val' "PUBMED_API_KEY"
, _gc_js_job_timeout = read $ cs $ val' "JS_JOB_TIMEOUT"
, _gc_js_id_timeout = read $ cs $ val' "JS_ID_TIMEOUT"
, _gc_epo_api_url = cs $ val' "EPO_API_URL"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment