[php-src] PR #13295: GitHub Actions: Add a timeout to Caddy server download
| From: | Ayesh | Date: | Wed, 31 Jan 2024 21:19:06 +0000 |
| Subject: | [php-src] PR #13295: GitHub Actions: Add a timeout to Caddy server download | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24949@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13295
Author: Ayesh
Currently,
caddyserver.com/api/download times out, which causes all our CI runs on
Linux to fail after trying for 30 seconds.
Further, the caddy website also mentions the site is experiencing issues and there is no SLA.
Ideally, we are probably better off using Caddy's GitHub Releases page, but the URL patterns
are difficult to build, so this timeout tries to avoid the CI jobs waiting nearly 30 minutes before
giving up. This change adds 120 second hard timeout, and adds three retries 10 seconds apart.