yggdrasil_ethereum v0.1.0 Yggdrasil.Settings.Ethereum View Source
This module defines the available settings for Ethereum in Yggdrasil.
Link to this section Summary
Functions
Ethereum timeout. Defaults to 10_000
Link to this section Functions
Ethereum timeout. Defaults to 10_000
.
It looks for the value following this order:
- The OS environment variable
$YGGDRASIL_ETHEREUM_TIMEOUT
. - The configuration file.
- The default value
10_000
.
If the timeout is defined using a namespace, the the name of the OS variable
should be $<NAMESPACE>_YGGDRASIL_ETHEREUM_TIMEOUT
where <NAMESPACE>
is
the snake case version of the actual namespace e.g. MyApp.Namespace
would
be MYAPP_NAMESPACE
.
config :yggdrasil, <NAMESPACE>,
ethereum: [timeout: 10_000]