-
-
Notifications
You must be signed in to change notification settings - Fork 474
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
Rewrite tile expiry (management of expired tiles) #747
Merged
Commits on Apr 21, 2017
-
Rewrite backend of tile expiry
Expired tiles are now managed in a set containig the ID of the tiles as 64-bit integer numbers instead of a self-written tree structure. The tile expiry is calculated on the maximum zoom level and all lower zoom levels are calculated using simple bit shifts during the output of the tile expiry list.
Configuration menu - View commit details
-
Copy full SHA for fa2bf67 - Browse repository at this point
Copy the full SHA fa2bf67View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce84ee5 - Browse repository at this point
Copy the full SHA ce84ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1489285 - Browse repository at this point
Copy the full SHA 1489285View commit details -
various minor corrections based on feedback
* use unsigned integers * add additional comments * prevent overflows on 32-bit machines
Configuration menu - View commit details
-
Copy full SHA for 6e5430f - Browse repository at this point
Copy the full SHA 6e5430fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 537deea - Browse repository at this point
Copy the full SHA 537deeaView commit details -
minor performance improvements for tile expiry
* don't try to insert a tile if the last insertion into the set was the same tile * switch loops in output method
Configuration menu - View commit details
-
Copy full SHA for cbf09da - Browse repository at this point
Copy the full SHA cbf09daView commit details -
Configuration menu - View commit details
-
Copy full SHA for e515298 - Browse repository at this point
Copy the full SHA e515298View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93f3fe2 - Browse repository at this point
Copy the full SHA 93f3fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dbc302 - Browse repository at this point
Copy the full SHA 4dbc302View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f7084f - Browse repository at this point
Copy the full SHA 8f7084fView commit details -
uint32_t for zoom level in options_t, zoom level 0 for "no tile expiry"
The constructor of expire_tiles_t expects uint32_t and the conversion to unsigned has to happen anywhere. In addition, some more checks on the arguments supplied by the user and a unit test for option `-e` does not harm. This commit adapts output_pgsql_t and output_multi_t because zoom level 0 for the tile expiry now means that no expiry output is requested.
Configuration menu - View commit details
-
Copy full SHA for 24488bf - Browse repository at this point
Copy the full SHA 24488bfView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.