set up list of jobs the backend instance should skip
This commit is contained in:
@@ -13,6 +13,7 @@ our @EXPORT_OK = qw/
|
||||
jq_getsomep
|
||||
jq_locked
|
||||
jq_queued
|
||||
jq_prime_skiplist
|
||||
jq_log
|
||||
jq_userlog
|
||||
jq_lock
|
||||
@@ -57,6 +58,12 @@ Netdisco job instance interface (see below).
|
||||
Returns a list of IP addresses of devices which currently have a job of the
|
||||
given C<$job_type> queued (e.g. C<discover>, C<arpnip>, etc).
|
||||
|
||||
=head2 jq_prime_skiplist()
|
||||
|
||||
Sets up a table of hints for the backend daemon manager to help avoid picking
|
||||
jobs from the queue that it cannot process due to C<*_no> configuration
|
||||
settings.
|
||||
|
||||
=head2 jq_log()
|
||||
|
||||
Returns a list of the most recent 50 jobs in the queue. Jobs are returned as
|
||||
|
||||
Reference in New Issue
Block a user