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 17:36:53 +0300
commit8bd2f2eb2380f0a96e8ee4f13e118c54248a2b44 (patch)
treee0c9c90a6819b788ef03a1bbb28bae77fed26f70 /console.php
parent676c91d4a3cf5f97b7d0047153cf56f1c9d1dcdb (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;