Status endpoint should check database
Closed this issue · 1 comments
nichtich commented
If the backend database is down, each endpoint returns a DatabaseAccessError
but the /status
endpoint. Status endpoint should do a simple query to check whether database is alive and readable. This is not a major bug but I'd call it a bug as "status" implies such a check.
stefandesu commented
That's what the ok
value is for. Maybe not the best name though.