mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-04-27 08:35:15 +00:00
10 lines
641 B
Markdown
10 lines
641 B
Markdown
# Simplex.Messaging.Agent.Env.SQLite
|
|
|
|
> Agent environment configuration, default values, and worker/supervisor record types.
|
|
|
|
**Source**: [`Agent/Env/SQLite.hs`](../../../../../../src/Simplex/Messaging/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.
|