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 environment variable to disable summarization cron tasks #1800

Closed
2 tasks
sainak opened this issue Jan 3, 2024 · 3 comments · Fixed by #1809
Closed
2 tasks

Add environment variable to disable summarization cron tasks #1800

sainak opened this issue Jan 3, 2024 · 3 comments · Fixed by #1809
Assignees
Labels
good first issue Good for newcomers

Comments

@sainak
Copy link
Member

sainak commented Jan 3, 2024

  • Add environment variables to disable specific summarization tasks, they should be allowed to un by default
  • Update docs

https://github.com/coronasafe/care/blob/ef73d9368fc8df775688c497acbd4e17fd9ba1a2/care/facility/tasks/__init__.py#L23-L47

the variable names should be in the pattern TASK_SUMMARIZE_*

@sainak sainak added the good first issue Good for newcomers label Jan 3, 2024
@amjithtitus09
Copy link
Contributor

Hey @sainak can you assign me this issue?

@amjithtitus09
Copy link
Contributor

@sainak Could you please share the link of the doc to be updated?

@sainak
Copy link
Member Author

sainak commented Jan 6, 2024

@amjithtitus09 there is no doc for environment variables, but you can create a new file under /docs/django-configuration and add the new variables, with a brief description and examples under the environment variables section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants