mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 09:01:40 -05:00
Default ein:query-timeout is nil if curl is used
this is to address #114
This commit is contained in:
parent
ff622a6468
commit
7901e90db7
2 changed files with 7 additions and 1 deletions
|
@ -564,6 +564,8 @@ Change Log
|
|||
v0.2.1
|
||||
------
|
||||
|
||||
* :el:symbol:`ein:query-timeout` is `nil` if `curl` backend is used
|
||||
by request.el_.
|
||||
* History search interface (:el:symbol:`helm-ein-kernel-history` and
|
||||
:el:symbol:`anything-ein-kernel-history`) discards duplications.
|
||||
This functionality requires at least version 4.0 of IPython kernel.
|
||||
|
|
|
@ -41,10 +41,14 @@
|
|||
|
||||
;;; Variables
|
||||
|
||||
(defcustom ein:query-timeout 1000
|
||||
(defcustom ein:query-timeout
|
||||
(if (eq request-backend 'url-retrieve) 1000 nil)
|
||||
"Default query timeout for HTTP access in millisecond.
|
||||
|
||||
Setting this to `nil' means no timeout.
|
||||
If you have ``curl`` command line program, it is automatically set to
|
||||
`nil' as ``curl`` is reliable than `url-retrieve' therefore no need for
|
||||
a workaround (see below).
|
||||
|
||||
If you do the same operation before the timeout, old operation
|
||||
will be canceled \(see also `ein:query-singleton-ajax').
|
||||
|
|
Loading…
Add table
Reference in a new issue