Merge branch 'hotfix-timeout' into develop

pull/21/head
Manuel Aranda Rosales 2025-02-20 13:01:03 +01:00
commit 2738ae8b75
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class DeployImageAction extends AbstractController
{ {
$image = $imageImageRepository->getImage(); $image = $imageImageRepository->getImage();
if (!$image->getClient()->getIp()) { if (!$client->getIp()) {
throw new ValidatorException('IP is required'); throw new ValidatorException('IP is required');
} }

View File

@ -74,7 +74,7 @@ class StatusAction extends AbstractController
$response = $this->httpClient->request('POST', 'https://' . $client->getIp() . ':8000/ogAdmClient/status', [ $response = $this->httpClient->request('POST', 'https://' . $client->getIp() . ':8000/ogAdmClient/status', [
'verify_peer' => false, 'verify_peer' => false,
'verify_host' => false, 'verify_host' => false,
'timeout' => 10, 'timeout' => 30,
'headers' => [ 'headers' => [
'Content-Type' => 'application/json', 'Content-Type' => 'application/json',
], ],