Home About News Products Blog

How can I control HTTP timeouts for long running processes?

timeout
magento

#1

I have a Magento store that has some reports and other integrations that run for a long time. I know section.io has timeouts that are designed to protect the system, but I really need to bypass these timeouts in some circumstances.

How can I bypass or override these timeouts for long running processes?


#2

The timeouts are in place to provide the best experience for the end user and for security reasons. However, there are a couple of options for long running jobs at the origin :

  1. Set up the origin to keep sending chunked responses (whitespace will do) to keep the connection alive. This will keep the connection alive and the timeout will not happen.

  2. If the URLs are not customer facing use a different domain such as admin.example.com to access them and have the requests for the domain not pass through section.io platform.