; ============================================
; FileCenter Storage 节点配置文件
; ============================================
; 版本: 1.0.0
; 说明: 此配置文件用于配置 Storage 节点的运行参数
; ============================================

[node]
type = storage
id = storage-02
listen_host = 0.0.0.0
listen_port = 9202
data_dir = ./data/storage2
log_dir = ./logs
log_level = info

[storage]
report_interval = 10
transfer_threads = 4
read_buffer_size = 4194304
write_buffer_size = 4194304
master_host = 127.0.0.1
master_port = 9000
heartbeat_interval = 10
capacity = 10995116277760
chunk_dir = ./data/storage2/chunks
upload_timeout = 300
download_timeout = 300
max_upload_workers = 10
max_download_workers = 10
sync_interval = 300
max_request_size = 104857600

[security]
enable_auth = false
token = 
enable_tls = false
cert_file = 
key_file = 
enable_ip_whitelist = false
allowed_ips = 

[log]
level = info
file = 
max_size = 100
max_backups = 10
max_age = 30
compress = true
