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

Add Management Command for Async Ingredient Synchronization #1876

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

crypto-a
Copy link

Proposed Changes (Issue #1862 )

  • Added a new management command python3 manage.py sync-ingredients-async to trigger the asynchronous ingredient synchronization task (sync_all_ingredients_task) via Celery.
  • Updated the sync_all_ingredients_task decorator from @app.task to @shared_task for accessing the task from the manage.py commands.

Please check that the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Added yourself to AUTHORS.rst

Other questions

  • Do users need to run some commmands in their local instances due to this PR
    (e.g. database migration)?
  • No, no additional commands or migrations are required.

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.

1 participant