Documentation updates for v4.1

This commit is contained in:
Jeremy Stretch
2024-07-31 16:26:21 -04:00
parent a49a74236b
commit 28b867bde4
11 changed files with 26 additions and 12 deletions

View File

@@ -1,5 +1,7 @@
# Background Jobs
!!! info "This feature was introduced in NetBox v4.1."
NetBox plugins can defer certain operations by enqueuing [background jobs](../../features/background-jobs.md), which are executed asynchronously by background workers. This is helpful for decoupling long-running processes from the user-facing request-response cycle.
For example, your plugin might need to fetch data from a remote system. Depending on the amount of data and the responsiveness of the remote server, this could take a few minutes. Deferring this task to a queued job ensures that it can be completed in the background, without interrupting the user. The data it fetches can be made available once the job has completed.