Skip to content

Commit

Permalink
add shutdown_no_activity_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhao-Gu committed Sep 26, 2024
1 parent b98fa48 commit c43a5c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
}
}

c.DockerSpawner.shutdown_no_activity_timeout = 60 * 60 # 1 hour

# Set the JupyterHub IP address and port
c.JupyterHub.ip = '0.0.0.0'
c.JupyterHub.port = int(os.getenv('NOTEBOOK_PORT'))
Expand Down

0 comments on commit c43a5c6

Please sign in to comment.