-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add env variables to toggle summarization tasks (#1809)
* Summarization Tasks Disable - Added env variables * Env variable as Boolean instead of String, added Doc * Linting fix * add django-configuration doc to index --------- Co-authored-by: Aakash Singh <mail@singhaakash.dev>
- Loading branch information
1 parent
6157020
commit 7ba0905
Showing
4 changed files
with
71 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Environment Variables | ||
=============== | ||
|
||
``TASK_SUMMARIZE_TRIAGE`` | ||
--------------------- | ||
Default value is `True`. If set to `False`, the celery task to summarize triage data will not be executed. | ||
Example: `TASK_SUMMARIZE_TRIAGE=False` | ||
|
||
``TASK_SUMMARIZE_TESTS`` | ||
--------------------- | ||
Default value is `True`. If set to `False`, the celery task to summarize test data will not be executed. | ||
Example: `TASK_SUMMARIZE_TESTS=False` | ||
|
||
``TASK_SUMMARIZE_FACILITY_CAPACITY`` | ||
--------------------- | ||
Default value is `True`. If set to `False`, the celery task to summarize facility capacity data will not be executed. | ||
Example: `TASK_SUMMARIZE_FACILITY_CAPACITY=False` | ||
|
||
``TASK_SUMMARIZE_PATIENT`` | ||
--------------------- | ||
Default value is `True`. If set to `False`, the celery task to summarize patient data will not be executed. | ||
Example: `TASK_SUMMARIZE_PATIENT=False` | ||
|
||
``TASK_SUMMARIZE_DISTRICT_PATIENT`` | ||
--------------------- | ||
Default value is `True`. If set to `False`, the celery task to summarize district patient data will not be executed. | ||
Example: `TASK_SUMMARIZE_DISTRICT_PATIENT=False` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters