Skip to content

Commit

Permalink
rename env-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
goebbert1 committed Jan 1, 2025
1 parent 3950eaa commit 6383515
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 @@ -136,7 +136,7 @@ def _get_cmd(port, unix_socket):

def _get_timeout(default=15):
try:
return float(os.getenv('RSERVER_TIMEOUT', default))
return float(os.getenv('JUPYTER_RSESSION_PROXY_TIMEOUT', default))
except Exception:
return default

Expand All @@ -150,7 +150,7 @@ def _get_timeout(default=15):
'icon_path': get_icon_path()
}
}
if os.getenv('RSERVER_USE_SOCKET', "") != "":
if os.getenv('JUPYTER_RSESSION_PROXY_USE_SOCKET'):
server_process['unix_socket'] = True

return server_process
Expand Down

0 comments on commit 6383515

Please sign in to comment.