Merge branch '3.8'

Conflicts:
	composer.json
	composer.lock
	lib/classes/task/Scheduler.php
This commit is contained in:
Romain Neutron
2013-10-18 15:01:47 +02:00
3 changed files with 11 additions and 4 deletions

View File

@@ -372,7 +372,14 @@ class task_Scheduler
);
if (is_resource($taskPoll[$tkey]["process"])) {
$this->sleep(2);
// let the process lock and write it's pid
$sleepTimeout = microtime(true) + 10;
do {
usleep(500000);
if (null !== $taskPoll[$tkey]['task']->getPID()) {
break;
}
} while (microtime(true) < $sleepTimeout);
}
if (is_resource($taskPoll[$tkey]["process"]) && ($pid = $taskPoll[$tkey]['task']->getPID()) !== null) {

View File

@@ -309,7 +309,7 @@
<div class="basGrp">
{% for collId, collection in storage_access['collections'] %}
<div>
<input type="checkbox" class="checkbox basItem basItem{{ sbasId }}" checked name="bas[]" id="basChk{{ collId}}" value="{{ collId }}">
<input type="checkbox" class="checkbox basItem basItem{{ sbasId }}" checked name="bases[]" id="basChk{{ collId}}" value="{{ collId }}">
<label for="basChk{{ collId }}">{{ collection.get_name() }}</label>
</div>
{% endfor %}

View File

@@ -1,5 +1,5 @@
<div class="row-fluid">
<!--[if gte IE 7]>
<!--[if !IE 6]><!-->
<div class="span12" style="height:400px;">
<object id="o" width="100%" height="100%"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
@@ -21,5 +21,5 @@
</embed>
</object>
</div>
<![endif]-->
<!--<![endif]-->
</div>