mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
RestApiClient: wait max 3sec for connection
This commit is contained in:
parent
9bed3b7f8a
commit
2d265caf95
@ -143,6 +143,7 @@ class RestApiClient
|
|||||||
CURLOPT_USERPWD => $auth,
|
CURLOPT_USERPWD => $auth,
|
||||||
CURLOPT_CUSTOMREQUEST => strtoupper($method),
|
CURLOPT_CUSTOMREQUEST => strtoupper($method),
|
||||||
CURLOPT_RETURNTRANSFER => true,
|
CURLOPT_RETURNTRANSFER => true,
|
||||||
|
CURLOPT_CONNECTTIMEOUT => 3,
|
||||||
|
|
||||||
// TODO: Fix this!
|
// TODO: Fix this!
|
||||||
CURLOPT_SSL_VERIFYHOST => false,
|
CURLOPT_SSL_VERIFYHOST => false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user