Skip to main content

Module ttl

Module ttl 

Source
Expand description

Workspace TTL management and registry.

Re-exports§

pub use registry::WorkspaceRecord;
pub use registry::WorkspaceRegistry;

Modules§

registry
Workspace record and registry persistence.

Structs§

Ttl
A time-to-live duration controlling how long a workspace remains active.

Functions§

is_expired
Returns true if the workspace has exceeded its TTL at the given instant.
prune
Returns workspaces that are both present on disk and have exceeded the TTL.