]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #2782 from tobiasd/20160920-adm
authorMichael Vogel <icarus@dabo.de>
Tue, 20 Sep 2016 17:25:45 +0000 (19:25 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Sep 2016 17:25:45 +0000 (19:25 +0200)
Show the worker queue count if the workers are active

doc/Settings.md
doc/de/Settings.md
mod/admin.php
view/templates/admin_summary.tpl

index 6eb967acc6e65ea8d1b8a45657c127d1d1fd1875..06ef85c43613a4fbdb04260a723458661c31f539 100644 (file)
@@ -9,7 +9,8 @@ This number should decrease quickly.
 The second is the messages which could for various reasons not being delivered.
 They will be resend later.
 You can have a quick glance into that second queus in the "Inspect Queue" section of the admin panel.
-If you have activated the background workers, there might be a third number representing the count of jobs queued for the workers.
+If you have activated the background workers, there is a third number representing the count of jobs queued for the workers.
+These worker tasks are prioritised and are done accordingly.
 
 Then you get an overview of the accounts on your node, which can be moderated in the "Users" section of the panel.
 As well as an overview of the currently active addons
index f72d4fd75bb765f94a75fae3914ccc28b94fd72c..2b157e6d9ea6a8bfbcd8f7aafff40c68684c5171 100644 (file)
@@ -9,8 +9,9 @@ Diese Zahl sollte sich relativ schnell sinken.
 Die zweite Zahl gibt die Anzahl von Nachrichten an, die nicht zugestellt werden konnten.
 Die Zustellung wird zu einem späteren Zeitpunkt noch einmal versucht.
 Unter dem Punkt "Warteschlange Inspizieren" kannst du einen schnellen Blick auf die zweite Warteschlange werfen.
-Solltest du für die Hintergrundprozesse die Worker aktiviert haben, könntest du eine dritte Zahl angezeigt bekommen.
+Solltest du für die Hintergrundprozesse die Worker aktiviert haben, wird eine dritte Zahl angezeigt.
 Diese repräsentiert die Anzahl der Aufgaben, die die Worker noch vor sich haben.
+Die Aufgaben der Worker sind priorisiert und werden anhand dieser Prioritäten abgearbeitet.
 
 Des weiteren findest du eine Übersicht über die Accounts auf dem Friendica Knoten, die unter dem Punkt "Nutzer" moderiert werden können.
 Sowie eine Liste der derzeit aktivierten Addons.
index 0749fd186137c3d26b755490a7d81ba321bac574..4dc6064a7d9eb8576cef9290f1523a201dfafeb3 100644 (file)
@@ -460,6 +460,7 @@ function admin_page_summary(&$a) {
                '$title' => t('Administration'),
                '$page' => t('Summary'),
                '$queues' => $queues,
+               '$workeractive' => get_config('system','worker'),
                '$users' => array(t('Registered users'), $users),
                '$accounts' => $accounts,
                '$pending' => array(t('Pending registrations'), $pending),
index 70f95ca5ef17e67a35780aed9261f1679ecebdc6..08e84b008526f4174f661b8d3cdb6b5bccb47eb2 100644 (file)
@@ -4,7 +4,7 @@
 
        <dl>
                <dt>{{$queues.label}}</dt>
-               <dd>{{$queues.deliverq}} - <a href="{{$baseurl}}/admin/queue">{{$queues.queue}}</a>{{if $queues.workerq}} - {{$queues.workerq}}{{/if}}</dd>
+               <dd>{{$queues.deliverq}} - <a href="{{$baseurl}}/admin/queue">{{$queues.queue}}</a>{{if $workeractive}} - {{$queues.workerq}}{{/if}}</dd>
        </dl>
        <dl>
                <dt>{{$pending.0}}</dt>