Skip to main content

Module select

Module select 

Source
Expand description

Candidate server selection for a fetch.

The Select seam enumerates the server pool; RoomCandidates derives it from room state and orders it by population, pinning the room’s authority server ahead of the ranking for auth fetches.

Structs§

RoomCandidates 🔒

Constants§

ROUTE_FANOUT 🔒
Population-ranked servers kept per fetch; bounds the serial federation fan-out per missing event.

Traits§

Select 🔒
Candidate enumeration seam. The production impl derives the server pool from room state; tests substitute a fixed list.

Functions§

push_unique 🔒
Append a server to the pool only on its first occurrence.