Jacek Kowalski
2024-08-17 7c2d04008df30360e5d9a2a53f42d77fa10757ea
Implement a timeout on fetch request
1 files modified
1 ■■■■ changed files
lib/Fetch.php 1 ●●●● patch | view | raw | blame | history
lib/Fetch.php
@@ -82,6 +82,7 @@
                'header' => [
                    'If-Modified-Since: '.gmdate('D, d M Y H:i:s T', $file_date),
                ],
                'timeout' => 15,
            ];
        }