Clean up abandoned matches and fix analytics validation
This commit is contained in:
@@ -12,7 +12,7 @@ export const RETRY_INTERVAL_MS = 5000;
|
||||
export const MAX_EVENTS_PER_MINUTE = 120;
|
||||
export const RETENTION_SWEEP_MS = 60 * 60 * 1000;
|
||||
export const CLIENT_EVENTS = ['page_view', 'screen_view', 'ui_action', 'client_error', 'game_started', 'game_finished'] as const;
|
||||
export const SCREENS = ['home', 'join', 'waiting', 'match', 'result'] as const;
|
||||
export const SCREENS = ['home', 'join', 'waiting', 'match', 'result', 'ranked-queue'] as const;
|
||||
export const UI_ACTIONS = ['bot_start', 'room_create', 'room_join', 'rematch'] as const;
|
||||
export const CLIENT_ERROR_CODES = ['storage_unavailable', 'connection_failed', 'renderer_failed'] as const;
|
||||
export const CAMPAIGN_VALUES = ['friend', 'organic', 'social', 'email', 'launch'] as const;
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
export const PRESENCE_AUTH_REFRESH_MS = 60000;
|
||||
export const PRESENCE_RETRY_MS = 5000;
|
||||
export const MATCH_PRESENCE_GRACE_MS = 120000;
|
||||
export const MATCH_CLEANUP_INTERVAL_MS = 30000;
|
||||
|
||||
Reference in New Issue
Block a user