Open pcace opened 1 year ago
Have you tried with bodyTimeout
and headerTimeout
?
Ref - https://undici.nodejs.org/#/docs/api/Dispatcher?id=parameter-dispatchoptions
If the connection was properly established, keep alive won't have an effect as the request is waiting for a response or further ACK to continue with the connection alived
Hi,
i am having trouble finding a way to keep fetch running when i have to deal with long running queries. i am talking about a minute max time. the query works fine in the browser, and returns 200. undici seems to be waiting exactly 30s till it fails.
this is how my request init looks like:
{"method":"GET","headers":{},"keepalive":true,"keepAliveInitialDelay":120000, "socketTimeout":0}
i am using undici 5.18.0. installed via npm.Any idea how to solve that?
Cheers and Thanks!!