how to set the request time out limit ?
jeffreyzhiw opened this issue · comments
JeffreyZhiw commented
i found when one request takes more than 15s wating for response, it will be canceled and return error messages. so how to handle this proplem? is there any way to overwrite the request time out settings ?
thx a lot :)
JeffreyZhiw commented
OK i got the solution. :)
const model = new falcor.Model({
source: new falcor.HttpDataSource('/model.json', {
timeout: 0,
}),
}).batch();
the second parameter contains the timeout limit.