[MM-17554] Health Check: improves enhanced health check with a DB write check. (#11851)
* Add db write check to enhanced ping check function (#11813) * fix misspelling * improve logging (#11813) * MM-17554: update logging to uppercase * MM17554: log DB read/write success (#11813)
Этот коммит содержится в:
коммит произвёл
Gabe Jackson
родитель
a9ed8fab28
Коммит
f753819a66
@@ -2888,7 +2888,7 @@ func (c *Client4) GetPing() (string, *Response) {
|
||||
}
|
||||
|
||||
// GetPingWithServerStatus will return ok if several basic server health checks
|
||||
// all psss successfully.
|
||||
// all pass successfully.
|
||||
func (c *Client4) GetPingWithServerStatus() (string, *Response) {
|
||||
r, err := c.DoApiGet(c.GetSystemRoute()+"/ping?get_server_status=true", "")
|
||||
if r != nil && r.StatusCode == 500 {
|
||||
|
||||
Ссылка в новой задаче
Block a user