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