Skip to main content

native_client_capable_slugs

Function native_client_capable_slugs 

Source
async fn native_client_capable_slugs(
    conn: &mut PgConnection,
) -> ModelResult<Vec<String>>
Expand description

Slugs of the exercise services this API can serve: exactly those declaring supports_native_client.

Reads the exercise_service_info cache, which service-info-fetcher refreshes about once a minute; fetching live would fan every request out to every exercise service. An empty set therefore usually means that fetcher is down or cold, which the client sees only as empty course and exercise lists — hence the warning.