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

Updates documentation for disabling threading #425

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,16 @@ Using `django.settings` you may exert more fine-grained control over the behavio
- Number
- `3`
- Specifies the maximum total time for a task to complete and return a result, including queue time.

Threading
-------------------

Django Health Check runs each check in `its own thread<https://github.com/revsys/django-health-check/blob/8f7e966e6dc6c7773f2340deabb4f0e2a2ab0873/health_check/mixins.py#L87>`_ by default.

This behavior can be disabled with:

.. code:: python

HEALTH_CHECK = {
'DISABLE_THREADING': True
}
Loading