mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
set cleanup_servers = False
leaves users running when the hub restarts Tests were relying on a bug in 0.9.1 that prevented cleanup due to improper handling of signals
This commit is contained in:
@@ -29,6 +29,9 @@ class CustomSpawner(SystemdSpawner):
|
||||
|
||||
c.JupyterHub.spawner_class = CustomSpawner
|
||||
|
||||
# leave users running when the Hub restarts
|
||||
c.JupyterHub.cleanup_servers = False
|
||||
|
||||
# Use a high port so users can try this on machines with a JupyterHub already present
|
||||
c.JupyterHub.hub_port = 15001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user