最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - flask-healthz async probes? - Stack Overflow

programmeradmin6浏览0评论

I need to check the DB in the ready probe and this is done asynchronously at best using AsyncConnectionPool. Does the probes support async call? I get the following warning:

/home/khteh/.local/share/virtualenvs/PythonRestAPI-6TwrpjXm/lib/python3.12/site-packages/flask_healthz/blueprint.py:37: RuntimeWarning: coroutine 'readiness' was never awaited
发布评论

评论列表(0)

  1. 暂无评论