Fetch timeout on cron trigger

Im running a worker through scheduled cron. This worker runs a fetch that takes a long time, most possible several minutes. Sadly it times out after 100 seconds or so. Is there anyway I can change the timeout on fetch to be longer?
2 Replies
Erisa
Erisa9mo ago
For the 100 second timeout, it can only be increased on Enterprise: https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-524-a-timeout-occurred That timeout happens when the target web server acks the request but does not send a response. it won't happen if data is continuously being streamed
ahlstrominfo
ahlstrominfoOP9mo ago
Awesome! I changed it to stream and now it works perfectly.
Want results from more Discord servers?
Add your server