mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-04-27 06:25:15 +00:00
641 B
641 B
Simplex.Messaging.Agent.Env.SQLite
Agent environment configuration, default values, and worker/supervisor record types.
Source: Agent/Env/SQLite.hs
mkUserServers — silent fallback on all-disabled
See comment on mkUserServers. If filtering routers by enabled && role yields an empty list, fromMaybe srvs falls back to all routers regardless of enabled/role status. This prevents a configuration where all routers are disabled from leaving the user with no routers — but means disabled routers can still be used if every router in a role is disabled.