mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
Merge branch '3.8'
Conflicts: composer.json composer.lock lib/classes/task/Scheduler.php
This commit is contained in:
@@ -372,7 +372,14 @@ class task_Scheduler
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (is_resource($taskPoll[$tkey]["process"])) {
|
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) {
|
if (is_resource($taskPoll[$tkey]["process"]) && ($pid = $taskPoll[$tkey]['task']->getPID()) !== null) {
|
||||||
|
@@ -309,7 +309,7 @@
|
|||||||
<div class="basGrp">
|
<div class="basGrp">
|
||||||
{% for collId, collection in storage_access['collections'] %}
|
{% for collId, collection in storage_access['collections'] %}
|
||||||
<div>
|
<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>
|
<label for="basChk{{ collId }}">{{ collection.get_name() }}</label>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<!--[if gte IE 7]>
|
<!--[if !IE 6]><!-->
|
||||||
<div class="span12" style="height:400px;">
|
<div class="span12" style="height:400px;">
|
||||||
<object id="o" width="100%" height="100%"
|
<object id="o" width="100%" height="100%"
|
||||||
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
|
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
|
||||||
@@ -21,5 +21,5 @@
|
|||||||
</embed>
|
</embed>
|
||||||
</object>
|
</object>
|
||||||
</div>
|
</div>
|
||||||
<![endif]-->
|
<!--<![endif]-->
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user