Skip to content
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

Option to maintain local cache file in Remote #428

Merged
merged 4 commits into from
Aug 26, 2022

Conversation

arumugaraja-thirumani
Copy link
Contributor

With remote_file_list_cache_file_path options we could be able to reduce and sync time by 30 minutes.

Maintaining the local file is difficult in the docker environment, so in this PR providing the option to have the cache file in remote (remote_file_list_remote_path) as well. Which will be downloaded during asset sync if path is configured and its creates a local file for further references in the sync. Once after the sync is completed, updated local cache file will be uploaded back to configured remote path.

This remote cache file will be maintained in the path configured using remote_file_list_remote_path inside fog_directory

Copy link
Member

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the feature is valid but the documentation probably need some improvements

lib/asset_sync/storage.rb Outdated Show resolved Hide resolved
lib/generators/asset_sync/templates/asset_sync.rb Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@PikachuEXE PikachuEXE merged commit d261cd4 into AssetSync:master Aug 26, 2022
@PikachuEXE
Copy link
Member

Released in 2.16.0

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.

2 participants