Commit aec1863
fix: idle shutdown now checks session-store.db mtime
Active copilot conversations write to session-store.db even when
no vector-memory tools are called. The idle check now stats the
session store file — if its mtime is newer than lastActivity, it
counts as activity and prevents premature shutdown.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent cf7fb65 commit aec1863
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
344 | 349 | | |
345 | 350 | | |
346 | 351 | | |
| |||
0 commit comments