Files
UAV-CO2/gasflux.ini
2026-02-11 16:28:51 +08:00

50 lines
983 B
INI

[server]
# Server configuration
host = 0.0.0.0
port = 5001
debug = false
base_url = http://localhost:5001
[paths]
# Directory paths (relative to project root or absolute)
uploads = ./web_api_data/uploads
outputs = ./web_api_data/outputs
[limits]
# File size and performance limits
max_content_length = 104857600 # 100MB in bytes
[logging]
# Logging configuration
level = INFO
file = logs/gasflux_api.log
[security]
# API key and security settings
admin_bootstrap_key = bootstrap_key_2024
[cleanup]
# Task cleanup settings
# 30 seconds
task_cleanup_interval = 30
# 24 hours in seconds
max_task_age = 86400
# 1 minute in seconds for successful tasks
successful_task_cleanup_age = 60
# 1 minute in seconds for failed tasks
failed_task_cleanup_age = 60
janitor_dry_run = false
[performance]
# Performance tuning
threads = 8
connection_limit = 100
channel_timeout = 300
[database]
# Database configuration
path =
[api_keys]
# API key persistence settings
persist_backend = sqlite