Browse Source

chore: extend odds history retention

flyzto 19 hours ago
parent
commit
72bfa95bbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/models/OddsHistory.js

+ 1 - 1
server/models/OddsHistory.js

@@ -20,7 +20,7 @@ const TRACKED_IOR_SET = new Set(TRACKED_IOR_KEYS);
 
 const ODDS_HISTORY_START_OFFSET = 2 * 60 * 60 * 1000;
 const ODDS_HISTORY_END_OFFSET = 3 * 60 * 60 * 1000;
-const ODDS_HISTORY_RETENTION = 2 * 24 * 60 * 60 * 1000;
+const ODDS_HISTORY_RETENTION = 3 * 24 * 60 * 60 * 1000;
 const ODDS_HISTORY_CLEANUP_INTERVAL = 60 * 60 * 1000;
 
 const oddsPointSchema = new Schema({