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

Caching #15

Closed
timminkov opened this issue Aug 7, 2014 · 3 comments
Closed

Caching #15

timminkov opened this issue Aug 7, 2014 · 3 comments

Comments

@timminkov
Copy link
Contributor

We're using this gem to have a server status page of latest deploys. Since calls are cached (in the heroics gem), they often don't update.

Is there a way to disable this caching? I've tried passing in cache: false with no luck.

@brandur
Copy link
Contributor

brandur commented Aug 7, 2014

/cc @jkakar

@jkakar
Copy link
Contributor

jkakar commented Aug 7, 2014

Heroics uses Moneta for caching. You can disable it by passing in a
null cache:

heroku = PlatformAPI.connect_oauth('api-key', cache: Moneta.new(:Null))

@timminkov
Copy link
Contributor Author

Perfect, thanks!

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

No branches or pull requests

3 participants