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

Simple method to update cats data #4

Open
Cowa opened this issue Mar 7, 2015 · 1 comment
Open

Simple method to update cats data #4

Cowa opened this issue Mar 7, 2015 · 1 comment

Comments

@Cowa
Copy link
Member

Cowa commented Mar 7, 2015

To minimize Imgur API quota, we currently make only one Imgur API request on the first use of the resources. Then every resources are stored in memory.

If new cats appear in the Imgur main album, they will not be available until the next reboot :(

The goal here is not to have an automatic update when a new cat is inserted in the Imgur main album.
But only a simple method that will re-fetch cats from Imgur.

Later, it'll be used by CatApi.

Extra-info :
cats will no longer be a lazy val, but only a var (see it)

cat

@Cowa Cowa added this to the v1.0.0 milestone Mar 7, 2015
@Cowa
Copy link
Member Author

Cowa commented May 24, 2015

It's gonna change with #7

@Cowa Cowa added the ready label Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant