Async trunking timing out not working

I am trying to fetch on a large database that is related to server side processing.

I tried setting the timeout to 0 (for infinite timeout) or a large value:

aCollection.fetch({
    // ...
    timeout: 500000
});

// or:

aCollection.fetch({
    // ...
    timeout: 0
});

      

& hellip, but none of them take effect; the query GET

used during the fetch fetch operation every 2 minutes.

Is this browser timeout exceeding asetch fetch parameters? is there any work for that?

+3


source to share


1 answer


I also had this problem and it has to do with the default node timeout (I used expressjs). This is probably not the best solution, but I changed the server timeout. this.server.timeout = 240000; (4 minutes)



+2


source







All Articles