-
Notifications
You must be signed in to change notification settings - Fork 81
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
LocalizedResourcePurger ttl configurable #339
Comments
I've been going a bit deep into the code and the problem with
Imagine
Conclusion: without considering the in use renderers is not safe to delete cached resources. |
My proposal is to remove One extra benefit of removing it is we could start caching XML for mapnik (with some changes). |
Final decision: we are gonna remove LocalizedResourcePurger for now as it creates more issues than the problems it solves. We will build a better mechanism that will consider live renderers so their associated assets are not removed. |
The ttl is hard coded right now: https://github.com/CartoDB/Windshaft/blob/0.43.0/lib/windshaft/server.js#L382-L384
It should be started only for
ttl > 0
.The text was updated successfully, but these errors were encountered: