Pārlūkot izejas kodu

chore: extend odds history retention

flyzto 19 stundas atpakaļ
vecāks
revīzija
72bfa95bbc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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({