Message ID | d0a56ad3a278e18e766f833619cf97869bdf6a4c.1652292852.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | d0a56ad3a278e18e766f833619cf97869bdf6a4c |
Headers | show |
Series | [dunfell,01/14] fribidi: Add fix for CVE-2022-25308, CVE-2022-25309 and CVE-2022-25310 | expand |
diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb index 50052f8532..a6144979f0 100644 --- a/meta/recipes-core/meta/cve-update-db-native.bb +++ b/meta/recipes-core/meta/cve-update-db-native.bb @@ -42,10 +42,10 @@ python do_fetch() { if os.path.exists(db_file): os.remove(db_file) - # Don't refresh the database more than once an hour + # The NVD database changes once a day, so no need to update more frequently try: import time - if time.time() - os.path.getmtime(db_file) < (60*60): + if time.time() - os.path.getmtime(db_file) < (24*60*60): return except OSError: pass