Fix name of recurring jobs

For recurring jobs, the name must be passed to the next job object when
the job is rescheduled.
This commit is contained in:
Alexander Haase 2024-11-14 22:36:17 +01:00
parent a19bdd0c9f
commit d0ee68968c

View File

@ -72,6 +72,7 @@ class JobRunner(ABC):
kwargs["job_timeout"] = job.object.python_class.job_timeout kwargs["job_timeout"] = job.object.python_class.job_timeout
cls.enqueue( cls.enqueue(
instance=job.object, instance=job.object,
name=job.name,
user=job.user, user=job.user,
schedule_at=new_scheduled_time, schedule_at=new_scheduled_time,
interval=job.interval, interval=job.interval,