From bf2f70c699de50ecf7a5ac87b78250571c394196 Mon Sep 17 00:00:00 2001 From: Pietro Carrara Date: Fri, 5 Feb 2021 10:27:27 -0300 Subject: [PATCH] leftypol: Lower the number of chunks --- .../chan/core/site/sites/leftypol/Leftypol.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/sites/leftypol/Leftypol.java b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/sites/leftypol/Leftypol.java index 9d51a76f8..e867408b0 100644 --- a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/sites/leftypol/Leftypol.java +++ b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/site/sites/leftypol/Leftypol.java @@ -26,6 +26,7 @@ import com.github.adamantcheese.chan.core.site.common.vichan.VichanApi; import com.github.adamantcheese.chan.core.site.common.vichan.VichanCommentParser; import com.github.adamantcheese.chan.core.site.common.vichan.VichanEndpoints; +import com.github.adamantcheese.chan.core.site.sites.chan4.Chan4; import java.util.List; @@ -150,11 +151,12 @@ public boolean siteFeature(SiteFeature siteFeature) { setParser(new LeftypolCommentParser()); } - - @NonNull @Override public ChunkDownloaderSiteProperties getChunkDownloaderSiteProperties() { - return new ChunkDownloaderSiteProperties(Integer.MAX_VALUE, true); + /** + * See {@link Chan4#getChunkDownloaderSiteProperties()} for a detailed explanation + */ + return new ChunkDownloaderSiteProperties(2, true); } }