Clean up bookmarks after prune_objects #544

Merged
floatingghost merged 2 commits from ilja/akkoma:clean_up_bookmarks_after_prune_objects into develop 2023-05-22 21:28:49 +00:00

2 Commits

Author SHA1 Message Date
ilja f49e9e6d4c Clean up bookmarks after prune_objects
ci/woodpecker/pr/woodpecker Pipeline is pending Details
When doing prune_objects, it's possible that bookmarked objects are deleted.
This gave problems when fetching the bookmark TL.
Here we clean up the bookmarks during pruning in the case were it's possible that bookmarked objects are deleted.
2023-05-21 13:02:28 +02:00
ilja c7fb78cc32 Move deadline and old_insert_date to setup
ci/woodpecker/pr/woodpecker Pipeline is pending Details
Several tests for prune_objetcs need a date older than the deadline for pruning, so I moved that to the setup
2023-05-21 12:01:54 +02:00