Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

scaling sprinkles: more aggressive caching settings

  • Loading branch information...
commit ed9925f7d3e56fd903c7245cfd5605868f82f711 1 parent 0447518
@mislav authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 config.yml
View
14 config.yml
@@ -8,14 +8,14 @@ default: &defaults
mongodb:
url: <%= ENV['MONGODB_URL'] %>
expires:
- api_cache: <%= 20 * 60 %>
- popular_page: <%= 15 * 60 %>
+ api_cache: <%= 30 * 60 %>
+ popular_page: <%= 30 * 60 %>
popular_feed: <%= 60 * 60 %>
- user_feed: <%= 60 * 60 %>
- user_json: <%= 60 * 60 %>
- user_page: <%= 30 * 60 %>
- search_page: <%= 10 * 60 %>
- tag_page: <%= 10 * 60 %>
+ user_feed: <%= 2 * 60 * 60 %>
+ user_json: <%= 2 * 60 * 60 %>
+ user_page: <%= 60 * 60 %>
+ search_page: <%= 20 * 60 %>
+ tag_page: <%= 20 * 60 %>
development:
<<: *defaults

0 comments on commit ed9925f

Please sign in to comment.
Something went wrong with that request. Please try again.