From 9be9ff3a461c664f1a43211d6379ff2999e656fa Mon Sep 17 00:00:00 2001 From: theronakpatel Date: Fri, 12 Dec 2025 13:17:00 +0530 Subject: [PATCH] adding set_time_limit --- lib/Command/RecoveryWarningNotificationCommand.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Command/RecoveryWarningNotificationCommand.php b/lib/Command/RecoveryWarningNotificationCommand.php index ccc22e5..94e54fe 100644 --- a/lib/Command/RecoveryWarningNotificationCommand.php +++ b/lib/Command/RecoveryWarningNotificationCommand.php @@ -97,6 +97,11 @@ class RecoveryWarningNotificationCommand extends Command { } protected function execute(InputInterface $input, OutputInterface $output): int { + // Align execution time limit with cron.php so large batches can finish + if (strpos((string)@ini_get('disable_functions'), 'set_time_limit') === false) { + @set_time_limit(0); + } + $overallStart = microtime(true); $startTime = date('Y-m-d H:i:s'); -- GitLab