try to make the job queue page a little faster
This commit is contained in:
@@ -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]
|
||||||
|
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
# -------------
|
# -------------
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user