Skip to content

Commit 49805bc

Browse files
committed
Restore fresh source age window
1 parent 5e85215 commit 49805bc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎news_pipeline/news_pipeline/cli/commands/heartbeat_prepare_one.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from news_pipeline.storage.json_store import JsonStore
2222

2323
MAX_PER_SOURCE = 2
24-
DEFAULT_MAX_SOURCE_AGE_HOURS = 30
24+
DEFAULT_MAX_SOURCE_AGE_HOURS = 24
2525
DEFAULT_PREWARM_BOARD_PATH = "news_pipeline/data/heartbeat/prepared-board.json"
2626
MIN_HEALTHY_BOARD_ELIGIBLE = 6
2727
MIN_THIN_SOURCE_TEXT_CHARS = 500

‎news_pipeline/news_pipeline/cli/commands/heartbeat_publish_one.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
DEFAULT_MIN_SCORE = 0.68
2626
ASTERIA_POLISHED_MIN_SCORE = 0.68
27-
DEFAULT_MAX_SOURCE_AGE_HOURS = 30
27+
DEFAULT_MAX_SOURCE_AGE_HOURS = 24
2828
DEFAULT_MIN_INTERVAL_SECONDS = 3000
2929
STATE_PATH = Path("news_pipeline/data/state/heartbeat-publish-one.json")
3030
MAX_STEP_LOG_CHARS = 900

0 commit comments

Comments
 (0)