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

Increase FeedInfo cache expiration time and read from config #368

Merged
merged 3 commits into from
Feb 4, 2016

Conversation

irees
Copy link
Member

@irees irees commented Feb 4, 2016

The default FeedInfo cache expiration time is now 4 hours (14400 seconds).

This setting can now be overridden via setting the config value or environment variable FEED_INFO_CACHE_EXPIRATION, in seconds.

Resolves #367

@drewda
Copy link
Member

drewda commented Feb 4, 2016

@irees can you also add a line to docs/configuration.md?

@irees
Copy link
Member Author

irees commented Feb 4, 2016

@drewda I added a line to docs/configuration.md. Considering it further, should it be in hours instead of seconds, to match the similar MAX_HOURS_SINCE_LAST_CONFLATE setting? I defaulted to seconds bc that is the value passed to cache expires_in:.

@drewda
Copy link
Member

drewda commented Feb 4, 2016

@irees, this is fine for now. Important for us to document, but not necessary just yet to have complete consistency on timing units.

drewda added a commit that referenced this pull request Feb 4, 2016
…ration

Increase FeedInfo cache expiration time and read from config
@drewda drewda merged commit f64305b into master Feb 4, 2016
@drewda drewda deleted the increase-feedinfo-cache-expiration branch February 4, 2016 18:09
@drewda drewda removed the in progress label Feb 4, 2016
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