set_tier2_available

Function set_tier2_available 

Source
pub(crate) async fn set_tier2_available(
    pool: &PgPool,
    callsign: &str,
    available: bool,
) -> Result<(), Error>
Expand description

Sets the tier2_available flag for a reflector.

Called by Tier 1 XLX API fetcher when it determines whether a reflector supports the UDP JSON monitor protocol. The flag controls whether Tier 2 attempts to connect.

ยงErrors

Returns sqlx::Error on query failure.