aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-09 19:57:35 -0700
committerfriendica <info@friendica.com>2015-03-09 19:57:35 -0700
commit0134a41015dd79092cb6a42ad0f7122d0af9bc6d (patch)
tree841eaab3a629984ef07fa9900303ae7c4893edae /mod/admin.php
parentef035a29bc2240ccc497d76eb6e48f2434250082 (diff)
downloadvolse-hubzilla-0134a41015dd79092cb6a42ad0f7122d0af9bc6d.tar.gz
volse-hubzilla-0134a41015dd79092cb6a42ad0f7122d0af9bc6d.tar.bz2
volse-hubzilla-0134a41015dd79092cb6a42ad0f7122d0af9bc6d.zip
more work on queue optimisations
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 8fb9866a7..daab6c9f3 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -614,7 +614,7 @@ function admin_page_queue($a) {
}
- $r = q("select count(outq_posturl) as total, outq_posturl from outq
+ $r = q("select count(outq_posturl) as total, max(outq_priority) as priority, outq_posturl from outq
where outq_delivered = 0 group by outq_posturl order by total desc");
for($x = 0; $x < count($r); $x ++) {
@@ -626,6 +626,7 @@ function admin_page_queue($a) {
$o = replace_macros(get_markup_template('admin_queue.tpl'), array(
'$banner' => t('Queue Statistics'),
'$numentries' => t('Total Entries'),
+ '$priority' => t('Priority'),
'$desturl' => t('Destination URL'),
'$nukehub' => t('Mark hub permanently offline'),
'$empty' => t('Empty queue for this hub'),