mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-11-14 14:47:19 +00:00
Expose net/http/pprof handlers under /api/debug/pprof/* when the new
enablePprofEndpoint (JSON) / enable_pprof_endpoint (YAML) config option is true. The endpoint is disabled by default.
This commit is contained in:
1 parent
eaf9453897
commit
2d72d1f0d5
11 files changed
+341
No files matched your search
Vendored
+3
@@ -86,6 +86,9 @@ enable_metrics_endpoint: false
|
||||
# Enable API documentation on /docs
|
||||
enable_swagger_endpoint: false
|
||||
|
||||
# Enable pprof profiling endpoints on /api/debug/pprof/*
|
||||
enable_pprof_endpoint: false
|
||||
|
||||
# OBSOLETE: use via url param ?_async=true
|
||||
async_api: false
|
||||
|
||||
|
||||
Reference in new issue
Block a user