Expand description
Command line and environment variable settings for the service
Modulesยง
- cassandra_
db ๐ - Command line and environment variable settings for the service
- chain_
follower ๐ - Command line and environment variable settings for the service
- str_
env_ ๐var - Processing for String Environment Variables
Structsยง
- EnvVars ๐
- All the
EnvVars
used by the service. - Service
Settings ๐ - Settings for the application.
- Settings ๐
- Our Global Settings for this running service.
Constantsยง
- ADDRESS_
DEFAULT ๐ - Default address to start service on, โ0.0.0.0:3030โ.
- API_
URL_ ๐PREFIX_ DEFAULT - Default
API_URL_PREFIX
used in development. - CHECK_
CONFIG_ ๐TICK_ DEFAULT - Default
CHECK_CONFIG_TICK
used in development, 5 seconds. - CLIENT_
ID_ ๐KEY_ DEFAULT - Default
CLIENT_ID_KEY
used in development. - EVENT_
DB_ ๐URL_ DEFAULT - Default Event DB URL.
- GITHUB_
ISSUE_ ๐TEMPLATE_ DEFAULT - Default Github issue template to use
- GITHUB_
REPO_ ๐NAME_ DEFAULT - Default Github repo name
- GITHUB_
REPO_ ๐OWNER_ DEFAULT - Default Github repo owner
- METRICS_
FOLLOWER_ ๐INTERVAL_ DEFAULT - Default
METRICS_FOLLOWER_INTERVAL
, 1 second. - METRICS_
MEMORY_ ๐INTERVAL_ DEFAULT - Default
METRICS_MEMORY_INTERVAL
, 1 second. - PURGE_
SLOT_ ๐BUFFER_ DEFAULT - Default number of slots used as overlap when purging Live Index data.
- SERVICE_
LIVE_ ๐COUNTER_ THRESHOLD_ DEFAULT - Default
SERVICE_LIVE_COUNTER_THRESHOLD
, that is used to determine if the service is live. - SERVICE_
LIVE_ ๐TIMEOUT_ INTERVAL_ DEFAULT - Default
SERVICE_LIVE_TIMEOUT_INTERVAL
, that is used to determine if the service is live, 30 seconds.
Staticsยง
- ENV_
VARS ๐ - Handle to the mithril sync thread. One for each Network ONLY.
- SERVICE_
SETTINGS ๐ - All Settings/Options for the Service.
Functionsยง
- calculate_
service_ ๐uuid - Hash the Public IPv4 and IPv6 address of the machine, and convert to a 128 bit V4 UUID.
- string_
to_ ๐api_ host_ names - Transform a string list of host names into a vec of host names.