Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix intersect to handle multiple authorities #529

Merged
merged 10 commits into from
Apr 20, 2020
10 changes: 8 additions & 2 deletions app/constants/history.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
/**
* Max esposure reporting window in days
*/
export const MAX_EXPOSURE_WINDOW = 14;
export const MAX_EXPOSURE_WINDOW_DAYS = 14;

/**
* The value in minutes of each "bin" in the crossed path data.
*/
export const BIN_DURATION = 5;
export const DEFAULT_EXPOSURE_PERIOD_MINUTES = 5;

/**
* The value in minutes of how long an exposure at a location is
* considered concerning.
*/
export const CONCERN_TIME_WINDOW_MINUTES = 4 * 60; // 4 hours, in minutes

/**
* Format of a single history item
Expand Down
Loading