Skip to content

Commit cdaa5d0

Browse files
authored
fix timeout option (#72)
1 parent a1e6508 commit cdaa5d0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/JiraClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public function curlPrepare(\CurlHandle|bool $ch, array $curl_http_headers, ?str
147147
curl_setopt($ch, CURLOPT_SSLKEYPASSWD, $this->getConfiguration()->isCurlOptSslKeyPassword());
148148
}
149149
if ($this->getConfiguration()->getTimeout()) {
150+
curl_setopt($ch, CURLOPT_TIMEOUT, $this->getConfiguration()->getTimeout());
150151
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $this->getConfiguration()->getTimeout());
151152
}
152153

0 commit comments

Comments
 (0)