summaryrefslogtreecommitdiffstats
path: root/scripts/oe-pkgdata-browser
diff options
context:
space:
mode:
authorDhairya Nagodra <dnagodra@cisco.com>2023-12-11 02:04:59 -0800
committerSteve Sakoman <steve@sakoman.com>2024-01-11 06:21:38 -1000
commite318dc57e3861b02a71dd129cc1352367d244c50 (patch)
tree755b94a5a91d81a1add8f9601140d8d31e528887 /scripts/oe-pkgdata-browser
parentc0a199acdc31730bb09f9dbffdfba5b38b8d2b77 (diff)
downloadpoky-e318dc57e3861b02a71dd129cc1352367d244c50.tar.gz
cve-update-nvd2-native: faster requests with API keys
As per NVD, the public rate limit is 5 requests in 30s (6s delay). Using an API key increases the limit to 50 requests in 30s (0.6s delay). However, NVD still recommends sleeping for several seconds so that the other legitimate requests are serviced without denial or interruption. Keeping the default sleep at 6 seconds and 2 seconds with an API key. For failures, the wait time is unchanged (6 seconds). Reference: https://nvd.nist.gov/developers/start-here#RateLimits (From OE-Core rev: 4f7e40652cdf647c28f7dc6052bfa5db6bc9d8fb) Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 5c32e2941d1dc3d04a799a1b7cbd275c1ccc9e79) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/oe-pkgdata-browser')
0 files changed, 0 insertions, 0 deletions