[Pkg-owncloud-commits] [owncloud] 11/14: console commands shall not be limited with respect to execution time

David Prévot taffit at moszumanska.debian.org
Wed Mar 11 15:49:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v6.0.7
in repository owncloud.

commit 9f01059ed9de72831f201a53a997c356c862e840
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Mon Feb 16 16:27:21 2015 +0100

    console commands shall not be limited with respect to execution time
---
 console.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/console.php b/console.php
index 25b8b31..bba571c 100644
--- a/console.php
+++ b/console.php
@@ -11,6 +11,9 @@ use Symfony\Component\Console\Application;
 $RUNTIME_NOAPPS = true;
 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_Config::getValue('installed', false)) {
 	echo "Console can only be used once ownCloud has been installed" . PHP_EOL;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list