From 2145e878a45beebf5aab244f60c0ef52c867cfef Mon Sep 17 00:00:00 2001 From: scb261 <65343233+scb261@users.noreply.github.com> Date: Sat, 20 Mar 2021 05:39:36 +0200 Subject: [PATCH] Limit query for recent chapters to 500 (#4678) --- .../java/eu/kanade/tachiyomi/data/database/queries/RawQueries.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/database/queries/RawQueries.kt b/app/src/main/java/eu/kanade/tachiyomi/data/database/queries/RawQueries.kt index 0521ba95bb..2d88c96c80 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/database/queries/RawQueries.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/database/queries/RawQueries.kt @@ -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 """ /**