Skip to content

Commit 02dc0e2

Browse files
fakeGenuisnnicandro
authored andcommitted
fix remote kernel hang with TRAMP
1 parent 1df9876 commit 02dc0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter-env.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ The session can be used to write a connection file, see
180180
;; Wait until the connection file is cleaned up before
181181
;; forgetting about the process completely.
182182
(jupyter-with-timeout
183-
(nil jupyter-default-timeout
183+
(nil (if (file-remote-p conn-file) 0 jupyter-default-timeout)
184184
(delete-file conn-file))
185185
(not (file-exists-p conn-file)))
186186
(delete-process process)

0 commit comments

Comments
 (0)