emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim e0c92f570c 3/3: * pyim-cloudim.el (pyim-cloudim:ba


From: ELPA Syncer
Subject: [elpa] externals/pyim e0c92f570c 3/3: * pyim-cloudim.el (pyim-cloudim:baidu, pyim-cloudim:google): Timeout -> 0.1.
Date: Sun, 8 May 2022 22:57:44 -0400 (EDT)

branch: externals/pyim
commit e0c92f570c3780482e77383b3ddaaae0f57c852c
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * pyim-cloudim.el (pyim-cloudim:baidu, pyim-cloudim:google): Timeout -> 0.1.
---
 pyim-cloudim.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyim-cloudim.el b/pyim-cloudim.el
index 5417c10a9f..e643f8be55 100644
--- a/pyim-cloudim.el
+++ b/pyim-cloudim.el
@@ -59,7 +59,7 @@
              (functionp 'json-parse-buffer))
     (with-current-buffer (url-retrieve-synchronously
                           (format "https://olime.baidu.com/py?py=%s"; string)
-                          t nil 0.5)
+                          t nil 0.1)
       (pyim-cloudim-parse-baidu-buffer))))
 
 (defun pyim-cloudim-parse-baidu-buffer ()
@@ -76,7 +76,7 @@
              (functionp 'json-parse-buffer))
     (with-current-buffer (url-retrieve-synchronously
                           (format 
"https://www.google.cn/inputtools/request?ime=pinyin&text=%s"; string)
-                          t nil 0.5)
+                          t nil 0.1)
       (pyim-cloudim-parse-google-buffer))))
 
 (defun pyim-cloudim-parse-google-buffer ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]