Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-16 11:16:32 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-16 11:16:32 +0300
commit036a8e3c1f116e4f34a735809779accf6c7f3f76 (patch)
tree356105aa56703cbc14717893ce7153eea92255f9 /console.php
parent786ff6a5a323e2efe54aa6b736c3fbdf12813d79 (diff)
console commands shall not be limited with respect to execution time - fixes #14156
Diffstat (limited to 'console.php')
-rw-r--r--console.php3
1 files changed, 3 insertions, 0 deletions
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;