From 036a8e3c1f116e4f34a735809779accf6c7f3f76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Mon, 16 Feb 2015 09:16:32 +0100
Subject: [PATCH] console commands shall not be limited with respect to
 execution time - fixes #14156

---
 console.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/console.php b/console.php
index 6d3ab20bc16..cbb11d2a5fd 100644
--- a/console.php
+++ b/console.php
@@ -11,6 +11,9 @@ use Symfony\Component\Console\Application;
 try {
 	require_once 'lib/base.php';
 
+	// set to run indefinitely if needed
+	set_time_limit(0);
+
 	// Don't do anything if ownCloud has not been installed yet
 	if (!\OC::$server->getConfig()->getSystemValue('installed', false)) {
 		echo "Console can only be used once ownCloud has been installed" . PHP_EOL;
-- 
GitLab