emory-libraries / blacklight-catalog

1 stars 2 forks source link

Delete guest users and searches once a day #1349

Closed rotated8 closed 1 year ago

rotated8 commented 1 year ago

Previously, this ran every 30 minutes, and did not seem to complete in a reliable way. This should attempt to run less frequently, and report start and end times when it finishes.

rotated8 commented 1 year ago

I'd prefer to use delete_all rather than destroy_all, but then I think we'd need to clean up saved searches and bookmarks separately.