Jelajahi Sumber

chore: extend odds history retention

flyzto 19 jam lalu
induk
melakukan
72bfa95bbc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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({