Hi, I found a more flexible way to determine whether the flask server is ready. Because I make a force push to my fork repository, the lagacy PR can't be reopened. So I create a new PR here.
Use flask function url_for to dynamic get request url.
In the main thread, Loop forever util it can make a request to the server successfully.
I expose a server_setting: server_ready_timeout to avoid dead circulation.
Hi, I found a more flexible way to determine whether the flask server is ready. Because I make a force push to my fork repository, the lagacy PR can't be reopened. So I create a new PR here.
url_for
to dynamic get request url.server_setting
:server_ready_timeout
to avoid dead circulation.Solved #6