diff app/models/tweet.rb @ 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 c1d5d8be92c6
children 8b2d770160e3
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