diff --git a/application/views/bootstrap/cache_url.php b/application/views/bootstrap/cache_url.php index 41ffc24f..013933ab 100644 --- a/application/views/bootstrap/cache_url.php +++ b/application/views/bootstrap/cache_url.php @@ -32,7 +32,7 @@ function batch_update_cache(url, index) { function create_cache_data(index){ if ($('#cache_url' + index).length > 0) { if ($('#cache' + index).html() != '\u66f4\u65b0\u9759\u6001\u9875\u9762\u6210\u529f\uff01') { - batch_update_cache($('#cache_url' + index).html(),index); + setTimeout(batch_update_cache($('#cache_url' + index).html(),index),5000); } } } diff --git a/application/views/bootstrap3/refresh_amp_urls.php b/application/views/bootstrap3/refresh_amp_urls.php index 8de3adc3..053ebcf3 100644 --- a/application/views/bootstrap3/refresh_amp_urls.php +++ b/application/views/bootstrap3/refresh_amp_urls.php @@ -67,7 +67,7 @@ if ($('#cache' + index).html() == '手动管理,不会自动更新') { //手动更新的项目跳过 create_amp_data(++index); } else { - batch_update_amp(index); + setTimeout(batch_update_amp(index),5000); } } } diff --git a/&1 b/&1 deleted file mode 100644 index 20ae0b66..00000000 --- a/&1 +++ /dev/null @@ -1,13 +0,0 @@ -fs.js:115 - throw err; - ^ - -Error: EPERM: operation not permitted, lstat 'C:\Users\lmr' - at Object.realpathSync (fs.js:1457:7) - at toRealPath (internal/modules/cjs/loader.js:202:13) - at Function.Module._findPath (internal/modules/cjs/loader.js:268:22) - at Function.Module._resolveFilename (internal/modules/cjs/loader.js:578:25) - at Function.Module._load (internal/modules/cjs/loader.js:507:25) - at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) - at startup (internal/bootstrap/node.js:283:19) - at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)