Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
leftypol: Lower the number of chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroCarrara committed Feb 5, 2021
1 parent 66d4de6 commit bf2f70c
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
}
}

0 comments on commit bf2f70c

Please sign in to comment.