From 3cd8f5c253913ab45b1e61790d31de1ff98c812d Mon Sep 17 00:00:00 2001 From: luchenqun Date: Thu, 9 Mar 2017 22:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=AA=E5=B0=8Fbu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/api.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 8ce42c0..55e5c2f 100644 --- a/routes/api.js +++ b/routes/api.js @@ -930,7 +930,7 @@ api.getSnapByTimer = function() { api.getFaviconByTimer = function() { console.log('getFaviconByTimer...........'); - var timeout = 3000; + var timeout = 30000; var busy = false; setInterval(function() { if (busy) { @@ -995,6 +995,8 @@ api.getFaviconByTimer = function() { }); }); } + } else { + busy = false; } }) .catch((err) => {