chore: sync badger config with gateway (#88)

This commit is contained in:
Hardy 2025-01-22 20:14:03 +08:00 committed by GitHub
parent 70be900fe0
commit d914028e68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 3 deletions

View File

@ -72,11 +72,21 @@ metrics:
node_stats: true
index_stats: true
## badger kv storage configuration
badger:
enabled: true
single_bucket_mode: true
path: ''
memory_mode: false
sync_writes: false
mem_table_size: 10485760
num_mem_tables: 1
# lsm tuning options
value_log_max_entries: 1000000
value_log_file_size: 104857600
value_log_file_size: 536870912
value_threshold: 1048576
num_level0_tables: 1
num_level0_tables_stall: 2
security:
enabled: true