File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def _support_args(args):
8080
8181 def _get_www_frame_origin (default = "same" ):
8282 try :
83- return os .getenv ('JUPYTER_RSESSION_PROXY_WWW_FRAME_ORIGIN ' , default )
83+ return os .getenv ('RSERVER_WWW_FRAME_ORIGIN ' , default )
8484 except Exception :
8585 return default
8686
@@ -136,7 +136,7 @@ def _get_cmd(port, unix_socket):
136136
137137 def _get_timeout (default = 15 ):
138138 try :
139- return float (os .getenv ('JUPYTER_RSESSION_PROXY_TIMEOUT ' , default ))
139+ return float (os .getenv ('RSERVER_TIMEOUT ' , default ))
140140 except Exception :
141141 return default
142142
@@ -150,9 +150,9 @@ def _get_timeout(default=15):
150150 'icon_path' : get_icon_path ()
151151 }
152152 }
153- if os .getenv ('JUPYTER_RSESSION_PROXY_USE_SOCKET ' ):
153+ if os .getenv ('RSERVER_USE_SOCKET ' ):
154154 server_process ['unix_socket' ] = True
155-
155+ RSERVER_TIMEOUT
156156 return server_process
157157
158158def setup_rsession ():
You can’t perform that action at this time.
0 commit comments