MCPcopy
hub / github.com/CodebuffAI/codebuff / isWaitingRoomBypassedForEmail

Function isWaitingRoomBypassedForEmail

web/src/server/free-session/config.ts:31–36  ·  view source on GitHub ↗
(
  email: string | null | undefined,
)

Source from the content-addressed store, hash-verified

29 * Bypassed users behave exactly as if the waiting room were disabled. */
30const WAITING_ROOM_BYPASS_EMAILS = new Set<string>(['team@codebuff.com'])
31export function isWaitingRoomBypassedForEmail(
32 email: string | null | undefined,
33): boolean {
34 if (!email) return false
35 return WAITING_ROOM_BYPASS_EMAILS.has(email.toLowerCase())
36}
37
38export function getSessionLengthMs(): number {
39 return env.FREEBUFF_SESSION_LENGTH_MS

Callers 4

requestSessionFunction · 0.90
getSessionStateFunction · 0.90
endUserSessionFunction · 0.90
checkSessionAdmissibleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected