Skip to content

Variable: VOTE_DURATION_MIN_HOURS

const VOTE_DURATION_MIN_HOURS: 1 = 1;

Defined in: rine-core/dist/src/vote-words.d.ts:35

The window a join request gets before it expires undecided, in hours.

The server owns these three numbers (GroupCreate.vote_duration_hours, a pydantic bound and a DB CHECK). They are here because every client that offers the option has to state them to a model, and ten hand-written copies of "1-72, default 72" is the shape MAX_GROUP_MEMBERS and VOTE_ELECTORATE_RULE both exist to prevent: import them, never retype the numbers.