We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc951dd commit 3873b3aCopy full SHA for 3873b3a
src/main/java/org/maxgamer/quickshop/util/language/text/distributions/crowdin/CrowdinOTA.java
@@ -36,15 +36,13 @@ public class CrowdinOTA implements Distribution {
36
.recordStats()
37
.build();
38
private final QuickShop plugin;
39
- // private final File cacheFolder;
40
- // private final okhttp3.Cache cache;
41
private final OkHttpClient client;
42
- // private final OkHttpClient clientNoCache;
43
44
public CrowdinOTA(QuickShop plugin) {
45
this.plugin = plugin;
46
Util.getCacheFolder().mkdirs();
47
this.client = new OkHttpClient.Builder()
+ .cache(new okhttp3.Cache(new File(Util.getCacheFolder(), "okhttp"), 50L * 1024L * 1024L))
48
49
50
}
0 commit comments