Define max_execution_time=3600 instead of using the default (60 sec)

This commit is contained in:
Daniel Berteaud 2013-11-18 16:55:37 +01:00
parent 98a3ecb240
commit 08bede6b5d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ foreach my $share ($a->get_all_by_prop(type => 'share')){
unlink </var/cache/pydio/indexes/.ajxp_lock-$name>
if (time() - $mtime > 18000);
}
system('/usr/bin/sudo -u www /usr/bin/php /usr/share/pydio/cmd.php ' .
system('/usr/bin/sudo -u www /usr/bin/php -d max_execution_time=3600 /usr/share/pydio/cmd.php ' .
'-u=RDiin175M40T0cYvXLARpAi+1TsSVkbksEDZ4KvwBuY= '.
'-t=e71479ebc4365176d9f09fe957780024 -a=index '.
'-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put >/dev/null 2>&1');