Skip to content

Commit

Permalink
show the button stop and some fix (#4397)
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix authored Oct 30, 2023
1 parent fc3baaf commit a6c459c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function uploaderAction(PhraseaApplication $app, Request $request)

// guess if the q is "running" = check if there are pending message on Q or loop-Q
$running = false;
$qStatuses = $this->getAMQPConnection()->getQueuesStatus();
$qStatuses = $this->getAMQPConnection()->getQueuesStatus(false, false);
foreach([
MessagePublisher::PULL_ASSETS_TYPE,
$this->getAMQPConnection()->getLoopQueueName(MessagePublisher::PULL_ASSETS_TYPE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public function validationReminderAction(PhraseaApplication $app, Request $reque

// guess if the q is "running" = check if there are pending message on Q or loop-Q
$running = false;
$qStatuses = $this->getAMQPConnection()->getQueuesStatus();
$qStatuses = $this->getAMQPConnection()->getQueuesStatus(false, false);
foreach([
MessagePublisher::VALIDATION_REMINDER_TYPE,
$this->getAMQPConnection()->getLoopQueueName(MessagePublisher::VALIDATION_REMINDER_TYPE)
Expand Down Expand Up @@ -493,7 +493,7 @@ public function recordsActionsAction(PhraseaApplication $app, Request $request)

// guess if the q is "running" = check if there are pending message on Q or loop-Q
$running = false;
$qStatuses = $this->getAMQPConnection()->getQueuesStatus();
$qStatuses = $this->getAMQPConnection()->getQueuesStatus(false, false);
foreach([
MessagePublisher::RECORDS_ACTIONS_TYPE,
$this->getAMQPConnection()->getLoopQueueName(MessagePublisher::RECORDS_ACTIONS_TYPE)
Expand Down Expand Up @@ -600,7 +600,7 @@ private function getDefaultRecordsActionsSettings()
</if>
<then>
<compute_date direction="after" field="#credate" delta="+1 month" computed="exp" />
<set_field field="ExpireDate" value="$exp" />
<set_field field="ExpireDate" value="" />
<coll id="Public" />
</then>
</task>
Expand All @@ -614,7 +614,7 @@ private function getDefaultRecordsActionsSettings()
</if>
<then>
<compute_date direction="after" field="#credate" delta="+10 days" computed="exp" />
<set_field field="ExpireDate" value="$exp" />
<set_field field="ExpireDate" value="" />
<coll id="Public" />
</then>
</task>
Expand Down

0 comments on commit a6c459c

Please sign in to comment.