Merge branch 'hotfix-timeout' into develop
commit
2738ae8b75
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue