Skip to content

Commit

Permalink
Remove django-celery-beat
Browse files Browse the repository at this point in the history
The default schedule for loading feeds is in the settings. That value
can be overridden on any of the feeds so there is little value in being
able to set the schedule from the database since it will always be a
default value an unlikely to change once set.
  • Loading branch information
StuartMacKay committed Sep 24, 2023
1 parent 92126bb commit f687db9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"django.contrib.messages",
"django.contrib.staticfiles",
"debug_toolbar",
"django_celery_beat",
"django_extensions",
"tagulous",
"feeds.apps.Config",
Expand Down Expand Up @@ -84,5 +83,3 @@
CELERY_TASK_ROUTES = {
"demo.tasks.load_feeds": {"delivery_mode": "transient"},
}

CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
1 change: 0 additions & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

bs4
celery
django-celery-beat
requests
text_unidecode

Expand Down
11 changes: 0 additions & 11 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ cachetools==5.3.1
celery==5.3.4
# via
# -r requirements/dev.in
# django-celery-beat
# django-structlog
certifi==2023.7.22
# via requests
Expand Down Expand Up @@ -60,8 +59,6 @@ colorclass==2.2.2
# via pip-upgrader
coverage[toml]==7.3.1
# via pytest-cov
cron-descriptor==1.4.0
# via django-celery-beat
croniter==1.4.1
# via django-rss-feeds
cryptography==41.0.4
Expand All @@ -70,7 +67,6 @@ distlib==0.3.7
# via virtualenv
django==3.2.21
# via
# django-celery-beat
# django-debug-toolbar
# django-extensions
# django-rss-feeds
Expand All @@ -79,8 +75,6 @@ django==3.2.21
# django-stubs-ext
# django-tagulous
# django-timezone-field
django-celery-beat==2.5.0
# via -r requirements/dev.in
django-debug-toolbar==4.2.0
# via -r requirements/dev.in
django-extensions==3.2.3
Expand All @@ -95,8 +89,6 @@ django-stubs-ext==4.2.2
# via django-stubs
django-tagulous==1.3.3
# via django-rss-feeds
django-timezone-field==6.0.1
# via django-celery-beat
docopt==0.6.2
# via pip-upgrader
docutils==0.18.1
Expand Down Expand Up @@ -221,8 +213,6 @@ pytest-factoryboy==2.5.1
# via -r requirements/tests.in
pytest-freezegun==0.4.2
# via -r requirements/tests.in
python-crontab==3.0.0
# via django-celery-beat
python-dateutil==2.8.2
# via
# celery
Expand Down Expand Up @@ -322,7 +312,6 @@ typing-extensions==4.8.0
tzdata==2023.3
# via
# celery
# django-celery-beat
urllib3==2.0.5
# via
# requests
Expand Down

0 comments on commit f687db9

Please sign in to comment.