From c0df170f0dc4a166faa45a9a711a93e619915797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=8DAmitla=20Vannikumar?= Date: Thu, 8 Dec 2022 15:02:56 -0800 Subject: [PATCH] increased number of default cache entries --- src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs b/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs index ac31392b6..f58814e63 100644 --- a/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs +++ b/src/Microsoft.ComponentDetection.Detectors/pip/IPyPiClient.cs @@ -31,7 +31,7 @@ public class PyPiClient : IPyPiClient // Values used for cache creation private const long CACHEINTERVALSECONDS = 60; - private const long DEFAULTCACHEENTRIES = 128; + private const long DEFAULTCACHEENTRIES = 4096; // max number of retries allowed, to cap the total delay period private const long MAXRETRIES = 15;