diff options
| author | 2023-03-28 14:24:36 +0200 | |
|---|---|---|
| committer | 2023-03-28 14:24:36 +0200 | |
| commit | ab49ee6c0c6a969cca447b68500b8faf052f362e (patch) | |
| tree | 8df65bf4e5d90ff8149bf1ae53ffad38558c3c64 /app/Services | |
| parent | ac3dd96f48d2e95b5fd143ab0ca5606c36283c55 (diff) | |
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
Diffstat (limited to 'app/Services')
| -rw-r--r-- | app/Services/ImportService.php | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
