Skip to content

Commit c9fc4d5

Browse files
authored
Merge pull request #4 from Wh1isper/main
2 parents 16d481f + 097e24a commit c9fc4d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jupyter_server_terminals/terminalmanager.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,6 @@ async def _cull_inactive_terminal(self, name):
164164
"Culling terminal '%s' due to %s seconds of inactivity.", name, inactivity
165165
)
166166
await self.terminate(name, force=True)
167+
168+
def pre_pty_read_hook(self, ptywclients):
169+
ptywclients.last_activity = utcnow()

0 commit comments

Comments
 (0)