Fix all the bugs
This commit is contained in:
.github/workflows
.pre-commit-config.yaml.vscode
DockerfileREADME.mddiscord_rss_bot
custom_message.pyfeeds.py
docker-compose.ymlpoetry.lockpyproject.tomlfilter
healthcheck.pyis_url_valid.pymain.pymarkdown.pymissing_tags.pysearch.pysettings.pystatic
templates
webhook.pytests
@ -9,7 +9,7 @@ def healthcheck() -> None:
|
||||
sys.exit(0): success - the container is healthy and ready for use.
|
||||
sys.exit(1): unhealthy - the container is not working correctly.
|
||||
"""
|
||||
# TODO: We should check more than just that the website is up.
|
||||
# TODO(TheLovinator): We should check more than just that the website is up.
|
||||
try:
|
||||
r: requests.Response = requests.get(url="http://localhost:5000", timeout=5)
|
||||
if r.ok:
|
||||
|
Reference in New Issue
Block a user