From 7c2d04008df30360e5d9a2a53f42d77fa10757ea Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 17 Aug 2024 20:08:50 +0000
Subject: [PATCH] Implement a timeout on fetch request

---
 lib/Fetch.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/Fetch.php b/lib/Fetch.php
index 3b8d540..8619456 100644
--- a/lib/Fetch.php
+++ b/lib/Fetch.php
@@ -82,6 +82,7 @@
 				'header' => [
 					'If-Modified-Since: '.gmdate('D, d M Y H:i:s T', $file_date),
 				],
+				'timeout' => 15,
 			];
 		}
 		

--
Gitblit v1.9.1