We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3f4cb commit e8e95f5Copy full SHA for e8e95f5
netbox/netbox/jobs.py
@@ -68,6 +68,8 @@ def handle(cls, job, *args, **kwargs):
68
finally:
69
if job.interval:
70
new_scheduled_time = (job.scheduled or job.started) + timedelta(minutes=job.interval)
71
+ if job.object and getattr(job.object, "python_class", None):
72
+ kwargs["job_timeout"] = job.object.python_class.job_timeout
73
cls.enqueue(
74
instance=job.object,
75
user=job.user,
0 commit comments