Skip to content

Commit

Permalink
merge: #786 from patch
Browse files Browse the repository at this point in the history
  • Loading branch information
alycejenni committed Jul 8, 2024
2 parents e1c8838 + 190be73 commit f7a1876
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckanext/nhm/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ def get_iiif_status():

health['status'] = response_json.get('status')
mss = response_json.get('profiles', {}).get('mss', {})
health['specimens'] = mss.get('mss_status', {}).get('status', ':(')
health['specimens'] = (
mss.get('source_cache', {}).get('mss_status', {}).get('status', ':(')
)
health['es'] = mss.get('es', {'status': 'red', 'response_time': None})

return health

0 comments on commit f7a1876

Please sign in to comment.