hifini 增大等待时长,降低数据库查询次数
This commit is contained in:
		@@ -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();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user