1// Base config shared between gamesapp (NextJS) and db_sync entrypoints 2// Does NOT include extraActions - those are app-specific 4// Cookie-based consistent hash routing for multi-replica scaling 5// Required for in-memory rate limiting to work with multiple replicas 6export const stickySessionAnnotationKey = 'nginx.ingress.kubernetes.io/upstream-hash-by' 7export const ingressAnnotationsH = { 8 [stickySessionAnnotationKey]: '$cookie_gameshardcook', 11export const gqlQuotaCfg = {gqGame: 10, getRecentGames: 5}