Skip to content

Commit

Permalink
rename envvar
Browse files Browse the repository at this point in the history
  • Loading branch information
goebbert1 committed Jan 3, 2025
1 parent 0411a54 commit 4ced2e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyter_rsession_proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ def _get_cmd(port, unix_socket):

if supported_args['www-thread-pool-size']:
try:
thread_pool_size = int(os.getenv('RSERVER_THREAD_POOL_SIZE', ""))
thread_pool_size = int(os.getenv('JUPYTER_RSESSION_PROXY_THREAD_POOL_SIZE', ""))
if thread_pool_size > 0:
cmd.append('--www-thread-pool-size=' + str(thread_pool_size))
except:
pass

if unix_socket != "":
if supported_args['www-socket']:
cmd.append('--www-socket={unix_socket}')
cmd.append('--www-socket={unix_socket}')
else:
raise NotImplementedError(f'rstudio-server does not support requested socket connection')
else:
Expand Down

0 comments on commit 4ced2e0

Please sign in to comment.