Filter: gk/foundation/licenses/api-request-timeout
Filters the timeout (in seconds) for Store API metadata requests (product and license data).
Defaults to roughly a third of PHP's max_execution_time (clamped to 5–15s), or 15s when there is no limit, so a slow or unreachable Store cannot exhaust the request budget. Raise it on slow connections. Package downloads use their own (longer) timeout, not this value.
Parameters
| Name | Type | Description |
|---|---|---|
| $timeout | int | Request timeout in seconds. |
| $url | string | The Store API URL being requested. |
Since
- 1.22.0
Source
Defined in Licenses/Helpers.php at line 47