You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our test suite has been sometimes throwing the following error:
sqlite3.OperationalError: database is locked
I think some of our immediate problem can be fixed with improving our test design as I described in #4651 but I'd also like to have this error caught and handled appropriately. It may make sense to have this be a "back off and retry" loop but since the database updates can take 10-20 minutes (maybe even longer if you're talking NVD API on a slow internet connection?) we might also consider just failing more gracefully and directing people to the documentation on running concurrent scans. Or spitting out an actual error message before we enter the retry loop?
The text was updated successfully, but these errors were encountered:
Our test suite has been sometimes throwing the following error:
I think some of our immediate problem can be fixed with improving our test design as I described in #4651 but I'd also like to have this error caught and handled appropriately. It may make sense to have this be a "back off and retry" loop but since the database updates can take 10-20 minutes (maybe even longer if you're talking NVD API on a slow internet connection?) we might also consider just failing more gracefully and directing people to the documentation on running concurrent scans. Or spitting out an actual error message before we enter the retry loop?
The text was updated successfully, but these errors were encountered: