env example
This commit is contained in:
+4
-8
@@ -10,22 +10,18 @@ DB_CONNECT_TIMEOUT=30
|
|||||||
DB_POOL_SIZE=5
|
DB_POOL_SIZE=5
|
||||||
DB_MAX_OVERFLOW=10
|
DB_MAX_OVERFLOW=10
|
||||||
DB_POOL_TIMEOUT=30
|
DB_POOL_TIMEOUT=30
|
||||||
# Recycle before the server-side wait_timeout kicks in
|
|
||||||
DB_POOL_RECYCLE=1800
|
DB_POOL_RECYCLE=1800
|
||||||
DB_POOL_PRE_PING=true
|
DB_POOL_PRE_PING=true
|
||||||
# Connections opened eagerly right after an engine is created
|
|
||||||
DB_WARMUP_SIZE=1
|
|
||||||
DB_MAX_TOTAL_CONNECTIONS=20
|
|
||||||
DB_HEALTH_CHECK_INTERVAL=30
|
|
||||||
|
|
||||||
# --- Query limits ---
|
# --- Query limits ---
|
||||||
QUERY_MAX_ROWS=1000
|
QUERY_MAX_ROWS=1000
|
||||||
QUERY_MAX_BYTES=4000000
|
QUERY_MAX_BYTES=262144
|
||||||
|
QUERY_MAX_CHARS=4096
|
||||||
QUERY_TIMEOUT_SECONDS=30
|
QUERY_TIMEOUT_SECONDS=30
|
||||||
QUERY_ALLOW_WRITE=false
|
QUERY_ALLOW_WRITE=False
|
||||||
|
|
||||||
# --- MCP server ---
|
# --- MCP server ---
|
||||||
MCP_TRANSPORT=stdio
|
MCP_TRANSPORT=stdio
|
||||||
MCP_HOST=127.0.0.1
|
MCP_HOST=127.0.0.1
|
||||||
MCP_PORT=8000
|
MCP_PORT=8000
|
||||||
LOG_LEVEL=INFO
|
LOG_LEVEL=INFO
|
||||||
|
|||||||
Reference in New Issue
Block a user