Skip to content
New issue

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

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

Already on GitHub? # to your account

Environment variable for tile expiration min and max zoom #295

Closed
balchen opened this issue Jul 20, 2022 · 1 comment
Closed

Environment variable for tile expiration min and max zoom #295

balchen opened this issue Jul 20, 2022 · 1 comment

Comments

@balchen
Copy link
Contributor

balchen commented Jul 20, 2022

I have set up the tile server to run locally and it's working great with (almost) live updates as I update OSM. The only issue is that big tiles (low zoom levels) are not expired. Ideally, I would like to expire tiles to a lower zoom level than what is currently hard-coded in

.

If these values could be environment variables instead, I could configure the zoom level for tile expiration to suit different needs. I'll happily submit a PR for a change.

@nielsole
Copy link
Collaborator

probably docs should be updated, too.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants