pyinstrument icon indicating copy to clipboard operation
pyinstrument copied to clipboard

Set interval via Django settings

Open luismedel opened this issue 3 months ago • 0 comments

Allows to configure the profiler interval when using the Django middleware via the PYINSTRUMENT_INTERVAL variable in settings.py.

Bonus track: Adds an user-agent in demo_scripts/wikipedia_article_word_count.py to avoid a 403 response (it seems Wikipedia filters the default UA) and fixes the docs.

Closes #417

luismedel avatar Nov 17 '25 16:11 luismedel