We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa666b commit ff9ab2aCopy full SHA for ff9ab2a
batchspawner/batchspawner.py
@@ -371,7 +371,7 @@ async def start(self):
371
if len(self.job_id) == 0:
372
raise RuntimeError("Jupyter batch job submission failure (no jobid in output)")
373
while True:
374
- await self.poll()
+ await self.query_job_status()
375
if self.state_isrunning():
376
break
377
else:
@@ -415,7 +415,7 @@ async def stop(self, now=False):
415
if now:
416
return
417
for i in range(10):
418
419
if not self.state_isrunning() and not self.state_isunknown():
420
421
await gen.sleep(1.0)
0 commit comments