Skip to main content

default_rocksdb_config

Function default_rocksdb_config 

Source
pub fn default_rocksdb_config() -> RocksDbConfig
Expand description

The tuned [RocksDbConfig] this crate ships as its baseline for the sui-rpc-store column families.

Bitmap CFs use a 7-day periodic-compaction interval by default.

The defaults port the production-proven settings from typed_store and bake in a “no write stalls, generous compaction parallelism” policy: the pending-compaction stall limits are disabled and the L0 triggers raised so neither the bulk restore nor steady-state indexing throttles on compaction debt, while the L0 stop trigger still bounds a runaway backlog.