Explorar o código

Limit query for recent chapters to 500 (#4678)

scb261 %!s(int64=4) %!d(string=hai) anos
pai
achega
2145e878a4

+ 1 - 0
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
 """
 
 /**