Re: [OE-core] [PATCH 5/5] cve-update-db-native: don't refresh more than once an hour

2019-11-12 Thread Ross Burton
On 11/11/2019 22:19, akuster808 wrote: err, I thought the NVD db is only updated once every two hours. And why is this not a variable so folks can tweak accordingly? This a fast-path so that a refresh isn't even attempted 60 minutes after a fetch. A fetch involves checking the last updates ti

Re: [OE-core] [PATCH 5/5] cve-update-db-native: don't refresh more than once an hour

2019-11-11 Thread akuster808
On 11/7/19 3:58 PM, Ross Burton wrote: > We already fetch the yearly CVE metadata and check that for updates before > downloading the full data, but we can speed up CVE checking further by only > checking the CVE metadata once an hour. > > Signed-off-by: Ross Burton > --- > meta/recipes-core/m

[OE-core] [PATCH 5/5] cve-update-db-native: don't refresh more than once an hour

2019-11-07 Thread Ross Burton
We already fetch the yearly CVE metadata and check that for updates before downloading the full data, but we can speed up CVE checking further by only checking the CVE metadata once an hour. Signed-off-by: Ross Burton --- meta/recipes-core/meta/cve-update-db-native.bb | 10 +- 1 file cha