-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
Environment
- Python version: 3.6.6
- NetBox version: 2.10.1
Proposed Functionality
- Add JOB_TIMEOUT to Script base class
- Add job_timeout=Script.JOB_TIMEOUT to enqueue_job kwarg (per docs, this is popped out on job start)
Use Case
With the move towards background job processing, the time constraint on scripts is no longer as restrictive. I feel allowing customization of the job_timeout per-script would be beneficial (if a job times out, the job is still also listed as "Running", this should be handled separately as a bug)
Database Changes
None
External Dependencies
None
atos-tomasz-fabisiak and IdRatherStand
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application