()
| 627 | let lastActivity = Date.now(); |
| 628 | |
| 629 | function resetIdleTimer() { |
| 630 | lastActivity = Date.now(); |
| 631 | } |
| 632 | |
| 633 | // Named for behavioral testing via __testInternals__. The factory tests in |
| 634 | // server-factory.test.ts call this directly so the idle-shutdown path can be |