From d0dfea5219b9974ede500dc888c9b3b7cbeda07a Mon Sep 17 00:00:00 2001 From: Mike Nitchie <4053177+mnitchie@users.noreply.github.com> Date: Fri, 19 Apr 2024 15:54:48 -0400 Subject: [PATCH] Update settings.rst Updates documentation for disabling threading, implemented in https://github.com/revsys/django-health-check/pull/362 --- docs/settings.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/settings.rst b/docs/settings.rst index f17c1dbc..5ff0752f 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -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`_ by default. + +This behavior can be disabled with: + +.. code:: python + + HEALTH_CHECK = { + 'DISABLE_THREADING': True + }