Skip to content

Commit 4f7c821

Browse files
mnitchiecodingjoe
andauthored
Ref #362 -- Document threading behavior and setting (#425)
Updates documentation for disabling threading, implemented in #362 --------- Co-authored-by: Johannes Maron <johannes@maron.family>
1 parent 4324b71 commit 4f7c821

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/settings.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,16 @@ Using `django.settings` you may exert more fine-grained control over the behavio
117117
- Number
118118
- `None`
119119
- Specifies the healthcheck task priority.
120+
121+
Threading
122+
-------------------
123+
124+
Django Health Check runs each check in a separate thread by default to improve performance.
125+
126+
In some cases, this might cause unwanted side effects and can be disabled with:
127+
128+
.. code:: python
129+
130+
HEALTH_CHECK = {
131+
'DISABLE_THREADING': True
132+
}

0 commit comments

Comments
 (0)