#1084 move slow skiplist build to the first job on running backend

This commit is contained in:
Oliver Gorwits
2023-09-05 22:55:33 +01:00
parent 8b47e7e2f8
commit 3a820c06e4
10 changed files with 180 additions and 77 deletions

View File

@@ -456,6 +456,7 @@ workers:
# this one takes ages
snapshot_timeout: 1200
primeskiplist_timeout: 1200
# 50 minutes
jobs_stale_after: 3000
@@ -485,27 +486,27 @@ schedule:
job_prio:
high:
- contact
- hook::exec
- hook::http
- location
- portcontrol
- portname
- power
- snapshot
- vlan
- delete
- 'contact'
- 'delete'
- 'hook::exec'
- 'hook::http'
- 'location'
- 'portcontrol'
- 'portname'
- 'power'
- 'snapshot'
- 'vlan'
normal:
- arpnip
- arpwalk
- discover
- discoverall
- expire
- macsuck
- macwalk
- nbtstat
- nbtwalk
- stats
- 'arpnip'
- 'arpwalk'
- 'discover'
- 'discoverall'
- 'expire'
- 'macsuck'
- 'macwalk'
- 'nbtstat'
- 'nbtwalk'
- 'stats'
worker_plugins:
- 'Internal::SNMPFastDiscover'
@@ -559,6 +560,7 @@ worker_plugins:
- 'PortControl'
- 'PortName'
- 'Power'
- 'PrimeSkiplist'
- 'Psql'
- 'Renumber'
- 'Show'
@@ -579,6 +581,10 @@ driver_priority:
deferrable_actions:
- 'snapshot'
- 'nbtwalk'
- 'macwalk'
- 'arpwalk'
- 'discoverall'
# ---------------
# GraphViz Export