Skip to content

Commit

Permalink
Merge pull request #3697 from airqo-platform/chore-uptime-checks
Browse files Browse the repository at this point in the history
consider devices which have been off for more than 7 days
  • Loading branch information
Baalmart authored Oct 19, 2024
2 parents 958546f + 9e5f694 commit 42690b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device-registry/models/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const logger = require("log4js").getLogger(
const DEFAULT_LIMIT = 1000;
const DEFAULT_SKIP = 0;
const DEFAULT_PAGE = 1;
const UPTIME_CHECK_THRESHOLD = 48;
const UPTIME_CHECK_THRESHOLD = 168;

const valueSchema = new Schema({
time: {
Expand Down

0 comments on commit 42690b3

Please sign in to comment.