# Qrusty configuration — all values shown are defaults.
# Uncommented lines are active; commented lines show optional overrides.

# --- Core ---
DATA_PATH=/data
BIND_ADDR=0.0.0.0:6784
STORAGE_MODE=rocksdb
# MAX_CONNECTIONS=10000
# WEBUI_DIR=/opt/qrusty/webui

# --- RocksDB tuning ---
# ROCKSDB_CACHE_MB=128
# ROCKSDB_WRITE_BUFFER_MB=16
# ROCKSDB_MAX_OPEN_FILES=128

# --- Hot tier ---
# QRUSTY_HOT_TIER_SIZE=1000
# QRUSTY_REFILL_THRESHOLD=250

# --- Payload store ---
# QRUSTY_SEGMENT_MAX_MB=256
# QRUSTY_COMPACT_INTERVAL_SECS=300

# --- Memory management ---
# QRUSTY_MEMORY_LIMIT_MB=512
# QRUSTY_MEMORY_PRESSURE_THRESHOLD=0.80
# QRUSTY_MAX_LOCKED_INDEX=500000

# --- WebSocket ---
# WS_PING_INTERVAL_SECS=30
# WS_PING_TIMEOUT_SECS=10
