try to make the job queue page a little faster

This commit is contained in:
Oliver Gorwits
2014-02-22 12:07:49 +00:00
parent cc3bea09cf
commit 2ed22d5d08
4 changed files with 4 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
* Default netmap depth set to 8 * Default netmap depth set to 8
* Add a "waiting" message to the netmap whilst the data loads * Add a "waiting" message to the netmap whilst the data loads
* Add a spinner to all waiting messages * Add a spinner to all waiting messages
* Try to make the Job Queue page a little faster
[BUG FIXES] [BUG FIXES]

View File

@@ -32,7 +32,7 @@ ajax '/ajax/content/admin/jobqueue' => require_role admin => sub {
->with_times ->with_times
->search({}, { ->search({}, {
order_by => { -desc => [qw/entered device action/] }, order_by => { -desc => [qw/entered device action/] },
rows => 200, rows => 50,
}); });
content_type('text/html'); content_type('text/html');

View File

@@ -76,7 +76,7 @@ web_plugins:
- Device::Neighbors - Device::Neighbors
- Device::Addresses - Device::Addresses
extra_web_plugins: [] extra_web_plugins: []
jobqueue_refresh: 5 jobqueue_refresh: 10
safe_password_store: true safe_password_store: true
# ------------- # -------------

View File

@@ -1,4 +1,4 @@
[% IF results.count == 0 %] [% IF NOT results.has_rows %]
<div class="span2 alert alert-info">The job queue is empty.</div> <div class="span2 alert alert-info">The job queue is empty.</div>
[% ELSE %] [% ELSE %]
<table class="table table-bordered table-condensed table-hover nd_floatinghead"> <table class="table table-bordered table-condensed table-hover nd_floatinghead">