Skip to content

Commit

Permalink
Remove django-celery-beat and use the default scheduler
Browse files Browse the repository at this point in the history
There are some issues with timezone for the `DatabaseScheduler`, so we
fallback to the default one (celery.beat.PersistentScheduler) which is
simpler --doesn't allow us to change the scheduled task from the
admin, but we don't need that.

In case we need this again, we can come back when those issues are
already fixed and revert this commit.
  • Loading branch information
humitos committed Apr 17, 2018
1 parent 4d9aee2 commit 6a9bca4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions readthedocs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def INSTALLED_APPS(self): # noqa
'annoying',
'django_extensions',
'messages_extends',
'django_celery_beat',

# daniellindsleyrocksdahouse
'haystack',
Expand Down Expand Up @@ -245,7 +244,6 @@ def USE_PROMOS(self): # noqa
CELERY_CREATE_MISSING_QUEUES = True

CELERY_DEFAULT_QUEUE = 'celery'
CELERYBEAT_SCHEDULER = 'django_celery_beat.schedulers:DatabaseScheduler'
CELERYBEAT_SCHEDULE = {
# Ran every hour on minute 30
'hourly-remove-orphan-symlinks': {
Expand Down

0 comments on commit 6a9bca4

Please sign in to comment.