1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Allow setting individual timeouts on scripts and reports

This commit is contained in:
kkthxbye-code
2022-04-04 18:00:38 +02:00
parent e2b6d69596
commit 36d6ae33d1
7 changed files with 25 additions and 8 deletions

View File

@ -89,6 +89,10 @@ The checkbox to commit database changes when executing a script is checked by de
commit_default = False
```
### `job_timeout`
Set the allowed runtime of a script. If not set the `RQ_DEFAULT_TIMEOUT` will be used.
## Accessing Request Data
Details of the current HTTP request (the one being made to execute the script) are available as the instance attribute `self.request`. This can be used to infer, for example, the user executing the script and the client IP address: