1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

hifini 增大等待时长,降低数据库查询次数

This commit is contained in:
程序员小墨 2022-10-29 17:56:01 +08:00
parent d332563905
commit 5015c6007b
2 changed files with 5 additions and 5 deletions

View File

@ -27,13 +27,13 @@ async function main() {
async function timeout2() { async function timeout2() {
await startFetchDetail(); await startFetchDetail();
setTimeout(timeout2, 2000); setTimeout(timeout2, 10 * 1000);
} }
timeout2(); timeout2();
async function timeout3() { async function timeout3() {
await startFetchRealUrl(); await startFetchRealUrl();
setTimeout(timeout3, 2000); setTimeout(timeout3, 10 * 1000);
} }
timeout3(); timeout3();
} }

View File

@ -17,11 +17,11 @@ node index --utils album --min 100000000 --limit 1000
hifini hifini
linux服务器 linux服务器
node index --limit 300,50
node index --limit 200,50 node index --limit 200,50
node index --limit 200,50 --order desc node index --limit 100,50
node index --limit 100,50 --order desc
Windows server Windows server
node index --limit 300,50 --order desc node index --limit 200,50 --order desc