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

Method update_activity

graphlite/src/session/models.rs:374–376  ·  view source on GitHub ↗

Update the last activity timestamp

(&mut self)

Source from the content-addressed store, hash-verified

372
373 /// Update the last activity timestamp
374 pub fn update_activity(&mut self) {
375 self.last_activity = chrono::Utc::now();
376 }
377
378 /// Check if the session is expired (1 hour timeout)
379 pub fn is_expired(&self) -> bool {

Callers 10

set_current_graphMethod · 0.80
clear_current_graphMethod · 0.80
set_current_schemaMethod · 0.80
set_current_timezoneMethod · 0.80
set_parameterMethod · 0.80
remove_parameterMethod · 0.80
clear_parametersMethod · 0.80
deactivateMethod · 0.80
resetMethod · 0.80
clear_catalog_cacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected