Skip to content

Commit

Permalink
See when we're pinging OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
NickFitz committed Feb 18, 2025
1 parent c468184 commit 2555253
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trade_remedies_api/core/healthcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def ping_opensearch():
:return: the response from OpenSearch
"""
print("Pinging OpenSearch…")
response = requests.get(settings.OPENSEARCH_URI, timeout=20)
print("OpenSearch pinged.")
# print("status code", response.status_code)
# print("we made it through the request")
return response
Expand Down

0 comments on commit 2555253

Please sign in to comment.