- 
                Notifications
    You must be signed in to change notification settings 
- Fork 473
Open
Description
Summary:
This issue proposed from: #564
This PR seems want to fixes the PeriodicTask.expire_seconds.
So I check this feature, PeriodicTask.expire_seconds seems realy not work.
- Celery Version: 5.2.7
- Celery-Beat Version: 2.3.0
Exact steps to reproduce the issue:
interval_schedule = IntervalSchedule.objects.create(
    every=1,
    period=IntervalSchedule.SECONDS,
)
periodic_task = PeriodicTask(
    pk=10,
    name='test',
    task='test', # Tips: use real task to try that.
    enabled=True,
    expire_seconds=20,
    interval=interval_schedule
)
periodic_task.save()Wait for 20 seconds, the task will not be expired.
Detailed information
I will try to fixed it later.
bbkgh and tdybda17
Metadata
Metadata
Assignees
Labels
No labels