ソースを参照

chore: extend odds history retention

flyzto 19 時間 前
コミット
72bfa95bbc
1 ファイル変更1 行追加1 行削除
  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({