Skip to content

Allow expiretiles_zoom to be set in config JSON#261

Merged
olt merged 1 commit into
omniscale:masterfrom
flother:master
Aug 23, 2022
Merged

Allow expiretiles_zoom to be set in config JSON#261
olt merged 1 commit into
omniscale:masterfrom
flother:master

Conversation

@flother

@flother flother commented Feb 13, 2021

Copy link
Copy Markdown
Contributor

Before this change, the default value for the -expiretiles-zoom command-line flag, used by the diff and run commands, would always overwrite whatever value was set for expiretiles_zoom in the config JSON. This change allows for four options:

  • No flag value, no config value: default value used
  • No flag value, config value: config value used
  • Flag value, no config value: flag value used
  • Both flag and config value: flag value used

Fixes #181.

Before this change, the default value for the -expiretiles-zoom
command-line flag (14) would always overwrite whatever value was set for
expiretiles_zoom in the config JSON. This change allows for four
options:

- No flag value, no config value: default value used
- No flag value, config value: config value used
- Flag value, no config value: flag value used
- Both flag and config value: flag value used

Fixes #181.
@olt olt merged commit 20db391 into omniscale:master Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

expiretiles_zoom in config file is not used by imposm run

2 participants