Database read replica delay can cause the enhanced ping endpoint check to fail

Description

If the Mattermost server is connecting to a database with a large-enough read replica delay then using `get_server_status` ping option will sometimes fail.

This was uncovered after resolving MM-24500.

cc.

QA Test Steps

No testing required.

Mana

None

Assignee

Gabe Jackson

QA Assignee

None

Reporter

Gabe Jackson

Epic Link

None

Fix versions

Mattermost Team

Cloud

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None
Configure