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

How to reset the cache? #15

Closed
rohmanhm opened this issue Nov 15, 2018 · 4 comments
Closed

How to reset the cache? #15

rohmanhm opened this issue Nov 15, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@rohmanhm
Copy link

I had plot my repo on GoCity before.

Now that I have changed my code, the files and folder structure are completely different, but GoCity shows the same visual as before.

Here's https://go-city.github.io/#/github.com/rohmanhm/go-open-dir
try to Open on Github file main.go it will shows Page Not Found

@rodrigo-brito
Copy link
Owner

rodrigo-brito commented Nov 15, 2018

Hi @rohmanhm , currently we have two levels of cache. The cache memory resets in 48 hours and the Google Storage Cache resets with 72 hours. I set it so long to avoid issues with processing in the first week, but I will reduce it soon.

I can provide a button to reset the cache, but I'm a little afraid about attacks. It can get the server down in minutes.

@rohmanhm
Copy link
Author

Adding the reset button I think it's fine, and to prevent the attacks maybe you can add reset tries limit.

BTW, It's been 4 days (96 hours) and the result of my repo still the same.

@rodrigo-brito
Copy link
Owner

Hi @rohmanhm, I agree. It can be a small issue with the cache TTL, I restart the cache manually and works fine now. Thank you for the report. I will investigate it soon.

@rodrigo-brito rodrigo-brito added the bug Something isn't working label Nov 20, 2018
@rodrigo-brito
Copy link
Owner

Hi @rohmanhm, I disabled the GCP cache. It is not a problem, any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants