# Crate Server Configuration
# Copy this file to config.toml and modify as needed
# Place this file in the same directory as your crate_server_x64.dll

[redis]
# Redis server connection settings
host = "127.0.0.1"
port = 6379
db = 0  # Redis database number (0-15)

# Optional authentication
# username = "your_username"
# password = "your_password"

# Optional connection pool settings
max_connections = 10      # Maximum number of connections in pool
min_connections = 2       # Minimum number of idle connections
idle_timeout = 60         # Idle connection timeout in seconds

# Example configurations for different environments:

# Development (local Redis)
# host = "127.0.0.1"
# port = 6379
# max_connections = 5
# min_connections = 1

# Production (remote Redis with auth)
# host = "redis.example.com"
# port = 6379
# username = "arma_server"
# password = "secure_password_here"
# max_connections = 20
# min_connections = 5
# idle_timeout = 30
