From fd78e2b78bb5d1c01f4e67ca25a8fcf77a562644 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Tue, 3 Jun 2025 11:42:15 +0200 Subject: [PATCH] docs: update options to enable with uwsgi We need to have py-call-uwsgi-fork-hooks set in order to have proper handling of our threads. While at it say that threads are enabled by default since a few releases. --- docs/reference/django-support.md | 2 +- docs/reference/flask-support.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/django-support.md b/docs/reference/django-support.md index e85f5a8a8..37b1fe3bd 100644 --- a/docs/reference/django-support.md +++ b/docs/reference/django-support.md @@ -24,7 +24,7 @@ For apm-server 6.2+, make sure you use version 2.0 or higher of `elastic-apm`. ::::{note} -If you use Django with uwsgi, make sure to [enable threads](http://uwsgi-docs.readthedocs.org/en/latest/Options.html#enable-threads). +If you use Django with uwsgi, make sure to [enable threads](http://uwsgi-docs.readthedocs.org/en/latest/Options.html#enable-threads) (enabled by default since 2.0.27) and [py-call-uwsgi-fork-hooks](https://uwsgi-docs.readthedocs.io/en/latest/Options.html#py-call-uwsgi-fork-hooks). :::: diff --git a/docs/reference/flask-support.md b/docs/reference/flask-support.md index e99e32994..3d9fa0ad4 100644 --- a/docs/reference/flask-support.md +++ b/docs/reference/flask-support.md @@ -24,7 +24,7 @@ For apm-server 6.2+, make sure you use version 2.0 or higher of `elastic-apm`. ::::{note} -If you use Flask with uwsgi, make sure to [enable threads](http://uwsgi-docs.readthedocs.org/en/latest/Options.html#enable-threads). +If you use Flask with uwsgi, make sure to [enable threads](http://uwsgi-docs.readthedocs.org/en/latest/Options.html#enable-threads) (enabled by default since 2.0.27) and [py-call-uwsgi-fork-hooks](https://uwsgi-docs.readthedocs.io/en/latest/Options.html#py-call-uwsgi-fork-hooks). ::::