I've built a web crawler and it's always getting stuck after a while. It just stops there, though script doesn't break.
async.eachSeries(links,function (item,callback){
request({
url: item.uri,
encoding: null,
headers: {
'Cookie': 'SESSIONID=7ik26oegkbhbtsmsdrjvfaerk4'
}
}, function(e, r, b) {
console.log("won't display this approx. after 1000th iteration")
callback();
})
})
Node version is 0.10.32
What can cause this?