Skip to content

Commit 4ee14d8

Browse files
committed
Add a hack to make the force_new_server 'work'
Some race condition causes /hub/spawn to try to redirect the user back to /user/username, rather than to spawn a new server for them. Probably a race condition somewhere...
1 parent 6300859 commit 4ee14d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tmpauthenticator/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ def get(self):
3636
yield gen.sleep(0.2 * (2 ** i))
3737
else:
3838
raise Exception("Pod for user %s could not be stopped", raw_user.name)
39+
# HACK: Let's see if this works?
40+
yield gen.sleep(5)
3941

4042

4143
else:

0 commit comments

Comments
 (0)