fix(celery): remove unsupported beat schedule fields

This commit is contained in:
2026-10-02 13:00:46 +03:30
parent efeacaebd0
commit f496474014

View File

@@ -31,32 +31,26 @@ app.conf.beat_schedule = {
'send-event-reminders': {
'task': 'apps.communications.tasks.send_event_reminders',
'schedule': crontab(minute=0, hour='*/1'),
'description': 'Runs hourly to notify about upcoming events.',
},
'cleanup-notification-retention': {
'task': 'apps.notifications.tasks.cleanup_notification_retention',
'schedule': crontab(hour=2, minute=0),
'description': 'Runs daily at 02:00 UTC to cleanup notification retention.',
},
'sweep-stale-payment-verifications': {
'task': 'apps.payments.sweep_stale_payment_verifications',
'schedule': crontab(minute='*/5'),
'description': 'Recovers old unresolved payment attempts with bounded gateway verification.',
},
'expire-stale-registration-checkouts': {
'task': 'apps.events.expire_stale_registration_checkouts',
'schedule': crontab(minute='*'),
'description': 'Releases seats from paid checkouts after their 15-minute window.',
},
'deliver-registration-notifications': {
'task': 'apps.events.deliver_pending_registration_notifications',
'schedule': crontab(minute='*'),
'description': 'Retries committed registration notifications.',
},
'sweep-pending-refunds': {
'task': 'apps.payments.sweep_pending_refunds',
'schedule': crontab(minute='*/5'),
'description': 'Recovers pending transaction reversals and exposes exhausted attempts for admin review.',
},
}