Module settings

Source
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.
ServiceSettings ๐Ÿ”’
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.