From ab49ee6c0c6a969cca447b68500b8faf052f362e Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 28 Mar 2023 14:24:36 +0200 Subject: Increase time limit import OPML (#5231) Importing an OPML file can take a long time. While waiting for a better way to customize, let's give it more time, like other slow functions --- app/Services/ImportService.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app') diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php index 55aa28679..6f6ca13ac 100644 --- a/app/Services/ImportService.php +++ b/app/Services/ImportService.php @@ -36,6 +36,7 @@ class FreshRSS_Import_Service { * @param boolean $dry_run true to not create categories and feeds in database. */ public function importOpml(string $opml_file, $forced_category = null, $dry_run = false) { + @set_time_limit(300); $this->lastStatus = true; $opml_array = array(); try { -- cgit v1.2.3