Limit query for recent chapters to 500 (#4678)

This commit is contained in:
scb261 2021-03-20 05:39:36 +02:00 committed by GitHub
parent 355f6db255
commit 2145e878a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,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
"""
/**