SE - AI chatbot docs

User manual, architecture, and installation reference for SE - AI chatbot

View the Project on GitHub M0WA/SE

Settings: System

← Manual home

/admin/settings

The “System” group on the Settings page.

Database connection pool: Max open connections

The maximum simultaneous database connections — default 25. On SQLite this has no practical effect: it always keeps a single connection, since it serializes writers at the file level and a larger pool would just add lock contention. It matters on the dev deployment’s Postgres backend, where raising it lets more concurrent requests through at the cost of more database-side resource usage.

Database connection pool: Max idle connections

How many connections are kept warm (open but unused) between requests rather than closed immediately — default 25, matching max open connections. This avoids reconnect overhead per request, at the cost of holding connections open on the database server even when idle.

Database connection pool: Connection max lifetime

How many minutes a pooled connection is reused before being recycled — default 5. A running process re-reads this within ~10 seconds of a save, but the effect on already-open connections is limited to pool bookkeeping (when they become eligible to close and replace) — not an instant forced reconnect of the whole pool.

Session: Session length

How many hours a signed-in admin session stays valid before expiring — default 12. Only applies to sessions created after saving; anyone already signed in keeps their session’s original expiration. Shorten it for more frequent re-authentication in a security-sensitive deployment; lengthen it if 12 hours is genuinely too short day to day.

Uploads: Max chat file upload size

Kilobytes allowed for a single account/chat file attachment — both a browser upload through Account and a file the write_file MCP tool creates — default 5120 (5MB). An upload over this limit is rejected before it’s saved. 0 or blank falls back to the default.

Uploads: Max document upload size

Kilobytes allowed for a single Document upload or S3 import fetch — default 20480 (20MB), independently configurable from the chat file upload limit above since the two serve very different content (a per-user chat attachment vs. an admin-triggered corpus import). An upload or S3 fetch over this limit is rejected. 0 or blank falls back to the default.


← Settings: Content rules  ·  ↑ Manual home  ·  Database →