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):
80
80
81
81
def _get_www_frame_origin (default = "same" ):
82
82
try :
83
- return os .getenv ('JUPYTER_RSESSION_PROXY_WWW_FRAME_ORIGIN ' , default )
83
+ return os .getenv ('RSERVER_WWW_FRAME_ORIGIN ' , default )
84
84
except Exception :
85
85
return default
86
86
@@ -136,7 +136,7 @@ def _get_cmd(port, unix_socket):
136
136
137
137
def _get_timeout (default = 15 ):
138
138
try :
139
- return float (os .getenv ('JUPYTER_RSESSION_PROXY_TIMEOUT ' , default ))
139
+ return float (os .getenv ('RSERVER_TIMEOUT ' , default ))
140
140
except Exception :
141
141
return default
142
142
@@ -150,9 +150,9 @@ def _get_timeout(default=15):
150
150
'icon_path' : get_icon_path ()
151
151
}
152
152
}
153
- if os .getenv ('JUPYTER_RSESSION_PROXY_USE_SOCKET ' ):
153
+ if os .getenv ('RSERVER_USE_SOCKET ' ):
154
154
server_process ['unix_socket' ] = True
155
-
155
+ RSERVER_TIMEOUT
156
156
return server_process
157
157
158
158
def setup_rsession ():
You can’t perform that action at this time.
0 commit comments