9 lines
544 B
TypeScript
9 lines
544 B
TypeScript
// How long after a map starts we wait before reading its "starting"
|
|
// population. At the exact instant of a map change the player count is still
|
|
// the previous map's (people leaving or reconnecting), so reading it at t=0
|
|
// would blame the new map for attrition that happened before/around the
|
|
// change. Shared by the leaderboard, the population chart SQL and the
|
|
// per-session timeline so all three agree. Safe to import from client code.
|
|
export const START_BASELINE_MIN = 3;
|
|
export const START_BASELINE_MS = START_BASELINE_MIN * 60_000;
|