Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled cleanup without the need to be triggered through API #132

Open
mcweba opened this issue Aug 7, 2023 · 0 comments
Open

Scheduled cleanup without the need to be triggered through API #132

mcweba opened this issue Aug 7, 2023 · 0 comments

Comments

@mcweba
Copy link
Collaborator

mcweba commented Aug 7, 2023

The current implementation requires a POST call through the API to clean expired resources.

router.postWithRegex(".*_cleanup").handler(this::cleanup);

It would be practical when vertex-rest storage could clean itself. This would also reduce the complexity of systems using vertx-rest-storge (like gateleen).

The cleanup could be configured with an interval and the amount of resources to clean (already implemented)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant