MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / wal_segment_target_bytes

Method wal_segment_target_bytes

nodedb/src/config/server/checkpoint.rs:79–81  ·  view source on GitHub ↗

WAL segment target size in bytes.

(&self)

Source from the content-addressed store, hash-verified

77
78 /// WAL segment target size in bytes.
79 pub fn wal_segment_target_bytes(&self) -> u64 {
80 self.wal_segment_target_mb * 1024 * 1024
81 }
82
83 /// Compaction interval as `Duration`.
84 pub fn compaction_interval(&self) -> std::time::Duration {

Callers 1

init_walFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected