阅读背景:

delay of 5 seconds between each request in Node Js

来源:互联网 

Here is my code:

这是我的代码:

I have more than 500,000 records in my database and I want to loop and request some information from another server. I've successfully wrote all functions except delays between each request. If I send all request with node.js remote server goes downs or can not answer each request. So I need to create a queue for looping But my code is not working still sending all request very fast.I have more than 5




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: