Bug: Tasks generally need to be able to handle snapshots being deleted by the UI mid-run #1124
Labels
expected: maybe someday
size: medium
status: backlog
Work is planned someday but is not the highest priority at the moment
touches: data/schema/architecture
type: bug report
why: performance
Intended to improve ArchiveBox speed or responsiveness
Many archivebox tasks (e.g.
update
,add
, etc.) fail mid-run if Snaphsots are deleted from the UI while archivebox is iterating over them.We should do a pass over the codebase and find all the
for Snaphot.objects...
loops and addtry:
/except:
within them to handle the case where the snapshot dissapears because it was deleted by another process.The text was updated successfully, but these errors were encountered: