You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is functionally equivalent to calling /versions on the endpoint.
I think that this should do a little more than just blindly respond with 'everything is fine', giving me a similar feeling to the following meme;
Jokes aside, i think that this endpoint should perform or otherwise "check up" on some basic functionality, or otherwise return "not OK" (with 5XX) when some precondition isn't present (which could be defined from other resources).
Maybe this could be linked to an "error counter", which would count the last amount of exceptions in the last minute, and this health resource should then return "not OK" if it passes a threshold.
Other than that, this is open for further ideas.
The text was updated successfully, but these errors were encountered:
element-hq/synapse#11473
TODO: If there is not a token return 0 so this doesn't need to be set. Useful when first setting up the service before any tokens exist
This issue has been migrated from #11473.
Currently
/health
looks like this;Which is functionally equivalent to calling
/versions
on the endpoint.I think that this should do a little more than just blindly respond with 'everything is fine', giving me a similar feeling to the following meme;
Jokes aside, i think that this endpoint should perform or otherwise "check up" on some basic functionality, or otherwise return "not OK" (with 5XX) when some precondition isn't present (which could be defined from other resources).
Maybe this could be linked to an "error counter", which would count the last amount of exceptions in the last minute, and this health resource should then return "not OK" if it passes a threshold.
Other than that, this is open for further ideas.
The text was updated successfully, but these errors were encountered: