Skip to content

Commit 4ced2e0

Browse files
author
goebbert1
committed
rename envvar
1 parent 0411a54 commit 4ced2e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_rsession_proxy/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ def _get_cmd(port, unix_socket):
118118

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

127127
if unix_socket != "":
128128
if supported_args['www-socket']:
129-
cmd.append('--www-socket={unix_socket}')
129+
cmd.append('--www-socket={unix_socket}')
130130
else:
131131
raise NotImplementedError(f'rstudio-server does not support requested socket connection')
132132
else:

0 commit comments

Comments
 (0)