Skip to main content

revocation_backend_is_postgres

Function revocation_backend_is_postgres 

Source
pub fn revocation_backend_is_postgres(schema: &CompiledSchema) -> bool
Expand description

Returns true when token revocation is enabled with the postgres backend.

Non-PostgreSQL runtime paths use this to warn that the backend is unavailable: the binary cannot connect a PostgreSQL pool from, e.g., a MySQL database_url, so revocation_manager_from_schema defers the backend and nothing builds it.