From 1025cc3d2848a12081a168cee229ee546805a186 Mon Sep 17 00:00:00 2001 From: Elijah DeLee Date: Thu, 5 Sep 2024 11:56:24 -0400 Subject: [PATCH] Issue: AAP-29982 enable middleware to log traceback on timeout gunicorn sends a signal 6 when it is about to timeout a request This middleware handles that request and logs a traceback. this aids in debugging infrastructure issues that may be causing requests to timeout. --- galaxy_ng/app/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/galaxy_ng/app/settings.py b/galaxy_ng/app/settings.py index 07f4b0f702..9fa0a91315 100644 --- a/galaxy_ng/app/settings.py +++ b/galaxy_ng/app/settings.py @@ -99,6 +99,7 @@ 'django.middleware.locale.LocaleMiddleware', 'django_guid.middleware.guid_middleware', 'pulpcore.middleware.DomainMiddleware', + 'ansible_base.lib.middleware.logging.log_request.LogTracebackMiddleware', # END: Pulp standard middleware 'django_prometheus.middleware.PrometheusAfterMiddleware', ]