make job queue list in webinterface configurable (#469)

* add an option so you can define the amount of jobs returned in the webinterface jobq

* and now the actually working version
This commit is contained in:
nick n
2018-12-28 17:01:40 +01:00
committed by Oliver Gorwits
parent 08589ebf96
commit 86c38c9466
3 changed files with 5 additions and 3 deletions

View File

@@ -273,7 +273,7 @@ sub jq_log {
return schema('netdisco')->resultset('Admin')->search({}, {
prefetch => 'target',
order_by => { -desc => [qw/entered device action/] },
rows => 50,
rows => (setting('jobs_qdepth') || 50),
})->with_times->hri->all;
}