Skip to content

Commit

Permalink
Merge pull request #4 from Wh1isper/main
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Jan 27, 2022
2 parents 16d481f + 097e24a commit c9fc4d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jupyter_server_terminals/terminalmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,6 @@ async def _cull_inactive_terminal(self, name):
"Culling terminal '%s' due to %s seconds of inactivity.", name, inactivity
)
await self.terminate(name, force=True)

def pre_pty_read_hook(self, ptywclients):
ptywclients.last_activity = utcnow()

0 comments on commit c9fc4d5

Please sign in to comment.