Skip to content

Commit 6383515

Browse files
author
goebbert1
committed
rename env-vars
1 parent 3950eaa commit 6383515

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
@@ -136,7 +136,7 @@ def _get_cmd(port, unix_socket):
136136

137137
def _get_timeout(default=15):
138138
try:
139-
return float(os.getenv('RSERVER_TIMEOUT', default))
139+
return float(os.getenv('JUPYTER_RSESSION_PROXY_TIMEOUT', default))
140140
except Exception:
141141
return default
142142

@@ -150,7 +150,7 @@ def _get_timeout(default=15):
150150
'icon_path': get_icon_path()
151151
}
152152
}
153-
if os.getenv('RSERVER_USE_SOCKET', "") != "":
153+
if os.getenv('JUPYTER_RSESSION_PROXY_USE_SOCKET'):
154154
server_process['unix_socket'] = True
155155

156156
return server_process

0 commit comments

Comments
 (0)