Skip to content

Commit

Permalink
fix #3009 maxCacheSize
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Oct 22, 2020
1 parent 5e73daf commit 46bface
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 46bface

Please sign in to comment.