From d5c6f67a4a07f25dac150a120285cdddb63b5586 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 13 Apr 2017 19:10:53 +0000 Subject: [PATCH] Changed documentation --- doc/Settings.md | 6 ++---- doc/de/Settings.md | 11 ++++------- include/photos.php | 5 ++--- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/doc/Settings.md b/doc/Settings.md index 5055ed7d2..365256272 100644 --- a/doc/Settings.md +++ b/doc/Settings.md @@ -6,12 +6,10 @@ If you are the admin of a Friendica node, you have access to the so called **Adm On the front page of the admin panel you will see a summary of information about your node. These information include the amount of messages currently being processed in the queues. -The first number is the number of messages being actively sent. -This number should decrease quickly. -The second is the messages which could for various reasons not being delivered. +The first number is the number of messages which could not been delivered for various reasons. 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 is a third number representing the count of jobs queued for the workers. +The second number represents the current number of jobs for the background 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. diff --git a/doc/de/Settings.md b/doc/de/Settings.md index 2b7e89a52..68e17adc7 100644 --- a/doc/de/Settings.md +++ b/doc/de/Settings.md @@ -5,17 +5,14 @@ Wenn du der Administrator einer Friendica Instanz bist, hast du Zugriff auf das so genannte **Admin Panel** in dem du die Friendica Instanz konfigurieren kannst, Auf der Startseite des Admin Panels werden die Informationen zu der Instanz zusammengefasst. -Diese Informationen beinhalten die Anzahl der Nachrichten, die sich aktuell in den Warteschlangen befinden. -Hierbei ist die erste Zahl die Zahl der Nachrichten die gerade aktiv verteilt werden. -Diese Zahl sollte sich relativ schnell sinken. -Die zweite Zahl gibt die Anzahl von Nachrichten an, die nicht zugestellt werden konnten. +Die erste 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, wird eine dritte Zahl angezeigt. -Diese repräsentiert die Anzahl der Aufgaben, die die Worker noch vor sich haben. +Die zweite Zahl steht für die Anzahl der Aufgaben, die die Worker noch vor sich haben. +Die Worker arbeiten Hintergrundprozesse ab. 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. +Desweiteren 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. Diese Liste ist verlinkt, so dass du schnellen Zugriff auf die Informationsseiten der einzelnen Addons hast. Abschließend findest du auf der Startseite des Admin Panels die installierte Version von Friendica. diff --git a/include/photos.php b/include/photos.php index 9d8d3309c..376be05c8 100644 --- a/include/photos.php +++ b/include/photos.php @@ -59,9 +59,8 @@ function photo_albums($uid, $update = false) { } else { // This query doesn't do the count and is much faster $albums = qu("SELECT DISTINCT(`album`), '' AS `total` - FROM `photo` - WHERE `uid` = %d AND `album` != '%s' AND `album` != '%s' $sql_extra - GROUP BY `album` ORDER BY `created` DESC", + FROM `photo` USE INDEX (`uid_album_scale_created`) + WHERE `uid` = %d AND `album` != '%s' AND `album` != '%s' $sql_extra", intval($uid), dbesc('Contact Photos'), dbesc(t('Contact Photos'))