Files
orbit/.env.example

18 lines
815 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Example only. Load environment variables explicitly; binaries do not read .env.
ORBIT_HTTP_ADDR=127.0.0.1:8080
# Set a real DSN through your secret manager. No credentials are committed.
ORBIT_MYSQL_DSN=
ORBIT_DB_MAX_OPEN=20
ORBIT_DB_MAX_IDLE=5
# 后台控制循环的有界调度间隔;默认 workflow/schedule=1s,recovery=2s。
ORBIT_WORKFLOW_TICK_INTERVAL=1s
ORBIT_SCHEDULE_TICK_INTERVAL=1s
ORBIT_RECOVERY_TICK_INTERVAL=2s
# 每个后台批次最多处理的持久化候选,范围1–100。
ORBIT_RUNTIME_BATCH_LIMIT=100
# 收到 SIGTERM 后的排空与优雅关闭窗口,范围1s–5m,默认10s。
ORBIT_SHUTDOWN_TIMEOUT=10s
# Empty disables metrics. To enable a separate private listener, use e.g.
# ORBIT_METRICS_ADDR=127.0.0.1:9090. Never expose it on the public API ingress.
ORBIT_METRICS_ADDR=