Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ now
Function
now
nodedb/src/engine/kv/engine.rs:388–390 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
386
use super::*;
387
388
fn now() -> u64 {
389
1_000_000
390
}
391
392
fn make_engine() -> KvEngine {
393
KvEngine::new(now(), 16, 0.75, 4, 64, 1000, 1024)
Callers
15
reset_election_timeout
Method · 0.85
force_leader
Function · 0.85
new
Method · 0.85
tick
Method · 0.85
single_node_election
Function · 0.85
single_node_propose_and_commit
Function · 0.85
snapshot_needed_after_compaction
Function · 0.85
learner_tick_does_not_start_election
Function · 0.85
setup_leader_with_observer
Function · 0.85
three_node_election
Function · 0.85
observer_tick_does_not_start_election
Function · 0.85
leader_steps_down_on_higher_term
Function · 0.85
Calls
no outgoing calls
Tested by
15
single_node_election
Function · 0.68
single_node_propose_and_commit
Function · 0.68
snapshot_needed_after_compaction
Function · 0.68
learner_tick_does_not_start_election
Function · 0.68
setup_leader_with_observer
Function · 0.68
three_node_election
Function · 0.68
observer_tick_does_not_start_election
Function · 0.68
leader_steps_down_on_higher_term
Function · 0.68
learner_ae_response_does_not_drive_commit
Function · 0.68
three_node_replication
Function · 0.68
observer_does_not_restore_lost_quorum
Function · 0.68
force_election
Function · 0.68