fix: aggregate presence samples every five minutes with seven-day retention
This commit is contained in:
@@ -3,6 +3,8 @@ export const ACTIVITY_INTERVAL_MS = 60000;
|
||||
export const ANALYTICS_BATCH_SIZE = 20;
|
||||
export const ACTIVE_WINDOW_MS = 90000;
|
||||
export const PRESENCE_INTERVAL_MS = 10000;
|
||||
export const PRESENCE_SAVE_INTERVAL_MS = 5 * 60 * 1000;
|
||||
export const PRESENCE_RETENTION_MS = 7 * 24 * 60 * 60 * 1000;
|
||||
export const RETENTION_MS = 90 * 24 * 60 * 60 * 1000;
|
||||
export const RETRY_QUEUE_LIMIT = 100;
|
||||
export const RETRY_MAX_AGE_MS = VISIT_SESSION_MS;
|
||||
|
||||
Reference in New Issue
Block a user