Fix pprof handlers to not use a db transaction #2122
Labels
area/api
Issue or PR related to the Infra API.
kind/bug
A report or a fix for a problem with functional correctness.
status/stale
Used by actions/stale to mark an issue or PR as stale.
Our
/debug/pprof
handlers are not very useful right now because the middleware around them start a database transaction. We are currently limited to a single DB transaction at a time, so the profile running prevents any other requests from being handled.In the short term we can address that by:
The text was updated successfully, but these errors were encountered: