]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-update-nvd2-native: make number of fetch attemtps configurable
authorPeter Marko <peter.marko@siemens.com>
Mon, 27 Nov 2023 19:55:36 +0000 (20:55 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 4 Jan 2024 17:21:46 +0000 (07:21 -1000)
commitee2a6ade703317d09f7df60ef7ce300d8f868f54
treed2af54ddeb1d194db479acdb7e1366b80c9a618b
parent70676801f1f8fe498ff34fc1db72b6a3bf438d4a
cve-update-nvd2-native: make number of fetch attemtps configurable

Sometimes NVD servers are unstable and return too many errors.

Last time we increased number of attempts from 3 to 5, but
further increasing is not reasonable as in normal case
too many retries is just abusive.

Keep retries low as default and allow to increase as needed.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b6fd8043d83b99000054ab6ad2c745d07c6bcc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-nvd2-native.bb