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:
Min RK
2018-08-29 16:46:04 +02:00
parent bd2934b73b
commit 6e27622f76

View File

@@ -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