jsocol / pystatsd

A Python client for statsd
http://statsd.readthedocs.io/
MIT License
542 stars 177 forks source link

Fix timing decorator for async functions #172

Closed jsocol closed 1 year ago

jsocol commented 1 year ago

Well I sat on this for long enough that it got easier: async/await is no longer a syntax error in any supported version of Python. That meant that it was relatively straightforward to apply @nkonin's proposed patch from #119.

Fixes #119.