mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
fix wait for spawn future
asyncio.wait takes a list
This commit is contained in:
@@ -349,7 +349,7 @@ class SpawnProgressAPIHandler(APIHandler):
|
||||
if spawner._spawn_pending:
|
||||
# wait for spawn_future to complete
|
||||
# (ignore errors, which will be logged elsewhere)
|
||||
await asyncio.wait(spawn_future)
|
||||
await asyncio.wait([spawn_future])
|
||||
|
||||
# progress and spawn finished, check if spawn succeeded
|
||||
if spawner.ready:
|
||||
|
Reference in New Issue
Block a user