Implementing OwnCloud API v1: Trigger cleanup after update #28

Closed
opened 7 years ago by dustinwilson · 1 comments
Owner

Trigger cleanup after update

This is used to clean up the database. It removes old read articles which are not starred

  • Authentication: Requires admin user
  • Method: GET
  • Route: /cleanup/after-update
  • Returns: Nothing
## Trigger cleanup after update This is used to clean up the database. It removes old read articles which are not starred * **Authentication**: Requires admin user * **Method**: GET * **Route**: /cleanup/after-update * **Returns**: Nothing
Owner

In Arsse, this method may be more aggressive, deleting even unread articles which are older than a given threshold. It may also delete starred articles if the owner of a star is inactive. It should probably also do daily clean-up tasks like running ANALYZE and VACUUM on the database.

In Arsse, this method may be more aggressive, deleting even unread articles which are older than a given threshold. It may also delete starred articles if the owner of a star is inactive. It should probably also do daily clean-up tasks like running ANALYZE and VACUUM on the database.
jking referenced this issue from a commit 7 years ago
jking closed this issue 7 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

0000-12-31

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.