Luis Medel
Luis Medel
This PR adds a way to ignore the dreaded `socket.gaierror` error when initializing the UDP client and a server is missing. - Fixes https://github.com/jsocol/pystatsd/issues/130 - (Hopefully) fixes https://github.com/jsocol/pystatsd/issues/125 ### Details...
In the Django middleware, it would be nice to be able to setup the interval via `settings.py`. I opened a new [PR](https://github.com/joerick/pyinstrument/pull/416) to tackle this with `PYINSTRUMENT_INTERVAL`.
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...