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

Method idle_timeout_secs

nodedb/src/control/state/methods.rs:227–229  ·  view source on GitHub ↗

Get the idle session timeout in seconds (0 = no timeout).

(&self)

Source from the content-addressed store, hash-verified

225
226 /// Get the idle session timeout in seconds (0 = no timeout).
227 pub fn idle_timeout_secs(&self) -> u64 {
228 self.idle_timeout_secs
229 }
230
231 /// Get the absolute session lifetime in seconds (0 = disabled).
232 pub fn session_absolute_timeout_secs(&self) -> u64 {

Callers 3

spawn_idle_sweep_loopFunction · 0.80
runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected