Skip to content

Commit

Permalink
Return fake response from ping_opensearch.
Browse files Browse the repository at this point in the history
  • Loading branch information
NickFitz committed Feb 18, 2025
1 parent 2555253 commit a48b5d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trade_remedies_api/core/healthcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def ping_opensearch():
:return: the response from OpenSearch
"""
print("Pinging OpenSearch…")
response = requests.get(settings.OPENSEARCH_URI, timeout=20)
# response = requests.get(settings.OPENSEARCH_URI, timeout=20)
response = ("Not a real response", 123.456)
print("OpenSearch pinged.")
# print("status code", response.status_code)
# print("we made it through the request")
Expand Down

0 comments on commit a48b5d9

Please sign in to comment.