dkruchinin/sanic-prometheus

Error on shutdown when adding the monitor

ram-argus opened this issue · 2 comments

2017-12-27 13:35:38,132 asyncio ERROR Task was destroyed but it is pending!
task: <Task pending coro=<make_periodic_memcollect_task..collector() running at /usr/local/lib/python3.5/dist-packages/sanic_prometheus/metrics.py:42> wait_for=>

the error disappear when monitor(app).expose_endpoint() is not used

@ram-argus Did you tried the last release with a fix from #4 ?

wow, already fixed. thanks!