Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only create pprof files for gitea serv if explicitly asked for #18068

Commits on Dec 22, 2021

  1. Only create pprof files for gitea serv if explicitly asked for

    Currently when ENABLE_PPROF is set gitea serv will create pprof files every time it
    is called. This is somewhat surprising as the intention of ENABLE_PPROF is to pprof
    the server and the utility of pprof files for examining serv is limited. (Especially
    since it has become little more than an API calling shim.)
    
    Should users wish to generate pprof files for serv they can still enable them using
    --enable-pprof.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    b3b58a8 View commit details
    Browse the repository at this point in the history