Skip to content

idle_check kills terminal-only sessions prematurely #45

@rylandely

Description

@rylandely

It appears that the clock starts ticking for new apps with the first call to idle_check, when the app name is registered. However, this reference time does not seem to be refreshed at any point. Consequently, when working at the terminal with keep_terminals = False and without any notebook running, the app will be terminated with a log message of "Keep alive time for terminal reached". Is this intended behavior? Ideally the IdleChecker would look to see if the terminal is in active use (maybe by resource usage or the output of the w command).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions