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.
2 parents 87a3550 + 534b439 commit 699a417Copy full SHA for 699a417
jupyter_server_proxy/handlers.py
@@ -491,7 +491,7 @@ async def ensure_process(self):
491
# FIXME: Make sure this times out properly?
492
# Invariant here should be: when lock isn't being held, either 'proc' is in state &
493
# running, or not.
494
- with (await self.state['proc_lock']):
+ async with self.state['proc_lock']:
495
if 'proc' not in self.state:
496
# FIXME: Prevent races here
497
# FIXME: Handle graceful exits of spawned processes here
0 commit comments