Top Level Namespace

Defined in:

Constant Summary

DB_HOST = ENV.fetch("APP_DB_HOST", "localhost")
DB_NAME = ENV.fetch("APP_DB_NAME", "skywirevisor_development")
DB_PASSWORD = ENV.fetch("APP_DB_PASSWORD", "skywirevisor_development")
DB_PORT = ENV["APP_DB_PORT"]?.try(&.to_i32) || 28015
DB_TABLE_NAME = ENV.fetch("APP_DB_TABLE_NAME", "visors_metrics")
DB_USER = ENV.fetch("APP_DB_USER", "skywirevisor_development")
TICK_TIME_SECOND = (ENV["APP_TICK_TIME_SECOND"]?.try(&.to_i32) || 10).seconds
TRACKER_PATH = ENV.fetch("APP_TRACKER_PATH", "/uptimes")
TRACKER_URI = ENV.fetch("APP_TRACKER_URI", "https://uptime-tracker.skywire.skycoin.com")