changeset 107:de342c5df747

Extend cache time to up to 30 minutes
author nanaya <me@myconan.net>
date Sun, 30 Oct 2016 04:24:41 +0900
parents 3ad8e6d20e79
children 8b2d770160e3
files app/models/tweet.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/models/tweet.rb	Sun Oct 16 05:45:21 2016 +0900
+++ b/app/models/tweet.rb	Sun Oct 30 04:24:41 2016 +0900
@@ -1,6 +1,6 @@
 class Tweet
   def cache_expires_time
-    (10 + rand(15)).minutes
+    (15 + rand(15)).minutes
   end
 
   def timeline