Limit query for recent chapters to 500 (#4678)

(cherry picked from commit 2145e878a45beebf5aab244f60c0ef52c867cfef)
This commit is contained in:
scb261 2021-03-20 05:39:36 +02:00 committed by Jobobby04
parent d9b3b7b266
commit 30250e350f

View File

@ -141,6 +141,7 @@ fun getRecentsQuery() =
AND ${Chapter.COL_DATE_FETCH} > ?
AND ${Chapter.COL_DATE_FETCH} > ${Manga.COL_DATE_ADDED}
ORDER BY ${Chapter.COL_DATE_FETCH} DESC
LIMIT 500
"""
/**