# 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 connect_timeout_ms = 2000 # Pool connect timeout in milliseconds pool_get_timeout_ms = 2000 # Pool checkout timeout in milliseconds command_timeout_ms = 2000 # Redis command timeout in milliseconds # 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 # connect_timeout_ms = 5000 # pool_get_timeout_ms = 5000 # command_timeout_ms = 5000