mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2025-12-13 17:10:36 +00:00
Some checks are pending
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
42 lines
720 B
YAML
42 lines
720 B
YAML
# ResolveSpec Test Server Configuration
|
|
# This is a minimal configuration for the test server
|
|
|
|
server:
|
|
addr: ":8080"
|
|
shutdown_timeout: 30s
|
|
drain_timeout: 25s
|
|
read_timeout: 10s
|
|
write_timeout: 10s
|
|
idle_timeout: 120s
|
|
|
|
logger:
|
|
dev: true # Enable development mode for readable logs
|
|
path: "" # Empty means log to stdout
|
|
|
|
cache:
|
|
provider: "memory"
|
|
|
|
middleware:
|
|
rate_limit_rps: 100.0
|
|
rate_limit_burst: 200
|
|
max_request_size: 10485760 # 10MB
|
|
|
|
cors:
|
|
allowed_origins:
|
|
- "*"
|
|
allowed_methods:
|
|
- "GET"
|
|
- "POST"
|
|
- "PUT"
|
|
- "DELETE"
|
|
- "OPTIONS"
|
|
allowed_headers:
|
|
- "*"
|
|
max_age: 3600
|
|
|
|
tracing:
|
|
enabled: false
|
|
|
|
database:
|
|
url: "" # Empty means use default SQLite (test.db)
|