We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e4f4c commit ec96953Copy full SHA for ec96953
nrepl-client.el
@@ -905,8 +905,9 @@ of the same \"op\" that came along."
905
(while (not (member "done" (nrepl-dict-get response "status")))
906
(accept-process-output nil 0.01)
907
;; break out in case we don't receive a response for a while
908
- (when (> (cadr (time-subtract (current-time) time0))
909
- nrepl-sync-request-timeout)
+ (when (and nrepl-sync-request-timeout
+ (> (cadr (time-subtract (current-time) time0))
910
+ nrepl-sync-request-timeout))
911
(error "Sync nREPL request timed out %s" request)))
912
(-when-let* ((ex (nrepl-dict-get response "ex"))
913
(err (nrepl-dict-get response "err")))
0 commit comments