This commit is contained in:
2025-06-07 12:38:52 +09:00
parent 354426fbb6
commit 1296f81c37

View File

@ -229,7 +229,7 @@ export async function getUnprocessedArticles(
SELECT * SELECT *
FROM articles FROM articles
WHERE processed = 0 WHERE processed = 0
AND pub_date >= datetime('now','-2 days') AND pub_date >= datetime('now','-18 hours')
ORDER BY pub_date DESC ORDER BY pub_date DESC
${limit ? `LIMIT ${limit}` : ""} ${limit ? `LIMIT ${limit}` : ""}
`; `;