fix(vikon): increase nginx fastcgi_read_timeout to 600s, PHP set_time_limit 600
This commit is contained in:
@@ -13,7 +13,11 @@ class HttpTask
|
||||
private readonly string $filemanagerDomain,
|
||||
private readonly int $timeout,
|
||||
private readonly int $retries,
|
||||
) {}
|
||||
) {
|
||||
if (php_sapi_name() !== 'cli') {
|
||||
set_time_limit(600);
|
||||
}
|
||||
}
|
||||
|
||||
public function get(string $endpoint, array $params = [], string $service = 'api'): \Illuminate\Http\Client\Response
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user