Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove django-celery-beat and use the default scheduler #3959

Merged
merged 1 commit into from
Apr 17, 2018

Conversation

humitos
Copy link
Member

@humitos humitos commented Apr 17, 2018

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.

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.
@humitos humitos force-pushed the humitos/celery/beat-scheduler branch from 6a9bca4 to ed55293 Compare April 17, 2018 16:04
@humitos
Copy link
Member Author

humitos commented Apr 17, 2018

To test this, you can make minute='*' in one of the already celery scheduled tasks and run celery worker and beat. In the next minute you will see the log in the console that a task was sent

@humitos humitos requested a review from agjohnson April 17, 2018 16:10
@agjohnson agjohnson added this to the 2.4 milestone Apr 17, 2018
@agjohnson
Copy link
Contributor

LGTM

@agjohnson agjohnson merged commit 907bad3 into master Apr 17, 2018
@agjohnson agjohnson deleted the humitos/celery/beat-scheduler branch April 17, 2018 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants