[Pkg-owncloud-commits] [owncloud] 25/95: console commands shall not be limited with respect to execution time - fixes #14156

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


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

taffit pushed a commit to annotated tag v8.0.1
in repository owncloud.

commit 8bd2f2eb2380f0a96e8ee4f13e118c54248a2b44
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Mon Feb 16 09:16:32 2015 +0100

    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 6d3ab20..cbb11d2 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;

-- 
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