Skip to main content

register_pool

Function register_pool 

Source
pub fn register_pool(tenant_slug: impl Into<String>, pool: Pool)
Expand description

Stash a tenant’s DB pool so a deserialized ReferenceIndexJob can resolve it in run(). Idempotent. Called automatically by reindex_page from the in-hand pool, so hosts don’t normally call it.