[Pkg-owncloud-commits] [owncloud] 14/38: 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:16:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 73954c44c654d2478f68bb3aae3338c841d89c5d
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 4b0adae..337c006 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