Skip to content

Commit d8993c8

Browse files
rochacbrunokdelee
andauthored
[backport 4.10] enable middleware to log traceback on timeout (#2254) (#2485)
enable middleware to log traceback on timeout (#2254) 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. (cherry picked from commit 414a532) Co-authored-by: Elijah DeLee <[email protected]>
1 parent c6fbae1 commit d8993c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

galaxy_ng/app/settings.py

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
'django.middleware.locale.LocaleMiddleware',
100100
'django_guid.middleware.guid_middleware',
101101
'pulpcore.middleware.DomainMiddleware',
102+
'ansible_base.lib.middleware.logging.log_request.LogTracebackMiddleware',
102103
# END: Pulp standard middleware
103104
'django_prometheus.middleware.PrometheusAfterMiddleware',
104105
]

0 commit comments

Comments
 (0)