class

JaneHQ::Config

Inherits Reference < Object

Runtime configuration, sourced from environment variables with sane defaults. JANEHQ_ADMIN_PASSWORD is the only required setting.

Constructors

from_env
Source
new(admin_user : String, admin_password : String, web_port : Int32, ingest_port : Int32, db_path : String, session_secret : String, stale_after : Int32)
Source

Instance methods

admin_password
Source
admin_user
Source
db_path
Source
ingest_port
Source
session_secret
Source
stale_after

An agent is considered stale/offline if we haven't heard from it in this many seconds (~3 agent cycles at the default 10s heartbeat).

Source
web_port
Source