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

implement cache auto refresh #10

Merged
merged 4 commits into from
Aug 11, 2020
Merged

implement cache auto refresh #10

merged 4 commits into from
Aug 11, 2020

Conversation

hirosassa
Copy link
Owner

fix #2

What is this PR

This PR added cache refresh functionality that check if the cache file is new enough and refresh if it is expired and the user confirmed.

@hirosassa
Copy link
Owner Author

@snowhork @to-lz1 Please review!

cmd/root.go Outdated Show resolved Hide resolved
@snowhork
Copy link
Contributor

@hirosassa LGTM! thanks!

@hirosassa hirosassa merged commit 97994cf into master Aug 11, 2020
@hirosassa hirosassa deleted the auto-refresh-cache branch August 11, 2020 03:41
hirosassa added a commit that referenced this pull request Aug 24, 2020
…functionalities (#11)

* add grantBQJobUser and permit project wide permissions

* Update README.md

* implement cache auto refresh (#10)

* implement cache auto refresh

* fix typo

* fix

* change to cacherefreshhour

Co-authored-by: hirohito-sasakawa <hirohito-sasakawa@m3.com>

* fix bug on cache refresh flag (#15)

* fix bug on cache refresh flag

* remove

Co-authored-by: hirohito-sasakawa <hirohito-sasakawa@m3.com>

* add grantBQJobUser and permit project wide permissions

* refactor

* fix package

* import order

* lint

* fix match member

* refactor

* fix package

* import order

* lint

* fix match member

* fix

* edit readme

* fix typo

* support service account

Co-authored-by: hirohito-sasakawa <hirohito-sasakawa@m3.com>
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.

auto-refresh cache data
2 participants