Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Haase
b17b2050df Use queue 'low' for system jobs by default
System jobs usually perform low-priority background tasks and therefore
can use a different queue than 'default', which is used for regular jobs
related to specific objects.
2024-07-25 14:19:55 +02:00
Alexander Haase
0b15ecf7e3 Collapse SystemJob into BackgroundJob 2024-07-25 10:14:38 +02:00
Alexander Haase
fb75389261 Add name attribute for BackgroundJob
Instead of defining individual names on enqueue, BackgroundJob classes
can now set a job name in their meta class. This is equivalent to other
Django classes and NetBox scripts.
2024-07-24 15:57:25 +02:00
Alexander Haase
58089c726a Merge ScheduledJob into BackgroundJob
Instead of using separate classes, the logic of ScheduledJob is now
merged into the generic BackgroundJob class. This allows reusing the
same logic, but dynamically deciding whether to enqueue the same job
once or multiple times.
2024-07-24 14:37:30 +02:00
Alexander Haase
d78ddfcffb Add documentation for jobs framework 2024-07-02 00:54:59 +02:00
jeremystretch
28f7b411ed Revise plugins documentation 2022-03-08 15:44:35 -05:00
jeremystretch
497afcc1e4 Rearrange plugins documentation 2022-01-25 13:53:31 -05:00