This commit is contained in:
2025-06-07 12:42:06 +09:00
parent 1296f81c37
commit 7915ed7a44

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','-18 hours') AND pub_date >= datetime('now','-6 hours')
ORDER BY pub_date DESC ORDER BY pub_date DESC
${limit ? `LIMIT ${limit}` : ""} ${limit ? `LIMIT ${limit}` : ""}
`; `;