MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / list_sessions

Method list_sessions

graphlite/src/session/global_provider.rs:157–161  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

155 }
156
157 fn list_sessions(&self) -> Vec<String> {
158 self.get_manager()
159 .map(|mgr| mgr.get_active_session_ids())
160 .unwrap_or_default()
161 }
162
163 fn cleanup_expired(&self, _max_idle: Duration) -> usize {
164 // SessionManager's cleanup_expired_sessions uses hardcoded 1 hour timeout

Callers 2

execute_ddl_operationMethod · 0.45
session_countMethod · 0.45

Calls 2

get_managerMethod · 0.80

Tested by

no test coverage detected