increase default http socket timeout to 300 secs to account for non-SSD disks.

This commit is contained in:
Abdulmhsen B. A. A
2022-04-13 02:32:52 +03:00
parent ae4985dc64
commit d785102efd

View File

@@ -61,6 +61,7 @@ return (function () {
'headers' => [
'User-Agent' => 'WatchState/' . ag($config, 'version'),
],
'timeout' => 300.0,
'extra' => [
'curl' => [
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,