Skip to content

Commit

Permalink
fix CarGuo#3009 maxCacheSize
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Oct 22, 2020
1 parent b0efc90 commit eb8faeb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public void setProxy(HttpProxyCacheServer proxy) {
*/
public HttpProxyCacheServer newProxy(Context context) {
return new HttpProxyCacheServer.Builder(context.getApplicationContext())
.maxCacheSize(DEFAULT_MAX_SIZE)
.headerInjector(userAgentHeadersInjector).build();
}

Expand Down

0 comments on commit eb8faeb

Please sign in to comment.