pub fn collect_threads(
conn: &Connection,
sessions_dir: &Path,
cwd: &str,
now: i64,
max_age_days: i64,
min_idle_hours: i64,
) -> Result<Vec<ThreadInfo>>Expand description
Collect eligible threads from sessions_dir for the given cwd.
now is the current Unix timestamp in seconds.