Skip to content

Add cities caching#77

Open
kanootoko wants to merge 1 commit into
iduprojects:masterfrom
kanootoko:cities_cache
Open

Add cities caching#77
kanootoko wants to merge 1 commit into
iduprojects:masterfrom
kanootoko:cities_cache

Conversation

@kanootoko
Copy link
Copy Markdown
Contributor

Repeat of #74

Changes:

  • environment variables CITIES_CACHE_DIR and UPDATE_CITIES_CACHE are used in metrics/app/core/config to manipulate cities caches
  • after cities data is collected from database and graphs are built, they are stored in cities_cache directory if it is available
  • if cities data is fully found in cache, nothing is downloaded from RPYC unless UPDATE_CITIES_CACHE is set to true

Changes:
- environment variables CITIES_CACHE_DIR and UPDATE_CITIES_CACHE are used in metrics/app/core/config to manipulate cities caches
- ffter cities data is collected from database and graphs are built, they are stored in cities_cache directory if it is available
- if cities data is fully found in cache, nothing is downloaded from RPYC unless UDATE_CITIES_CACHE is set to true
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.

1 participant