pubmodengine;modengine_helpers;modengine_index;modengine_stats;pubmodentry;pubmodexpiry_wheel;modhash_helpers;pubmodhash_table;pubmodindex;pubmodscan;pubmodslab;pubuseengine::KvEngine;pubuseengine_stats::{ExpiredKey, KvStats};/// Get current wall-clock time in milliseconds since Unix epoch.
////// Used by KV engine handlers and the core loop for TTL calculations.
/// Returns 0 on clock failure (extremely rare, only on broken systems).
pubfncurrent_ms()->u64{std::time::SystemTime::now().duration_since(std::time::UNIX_EPOCH).map(|d|d.as_millis()asu64).unwrap_or(0)}