我有一个包含数据的Excel工作表,读取数据后正在处理它。 问题是,即使处理没有完成,请求也会在邮递员中超时。
xlsxj({
input: filepath,//path of the file
output: null,// I am not taking any output of the file
sheet: "Party Master"
},async function (err,result) {
if (err) {
res.send(err);
} else {
try {
for(let row of result) { // more than 1000 iterations
await fun1(row);
await fun2(row);
await fun3(row);
}
return res.send('all done');
}
catch(err){
console.log(err);
}
}
})
我在哪里弄错了?