comparison 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
comparison
equal deleted inserted replaced
106:3ad8e6d20e79 107:de342c5df747
1 class Tweet 1 class Tweet
2 def cache_expires_time 2 def cache_expires_time
3 (10 + rand(15)).minutes 3 (15 + rand(15)).minutes
4 end 4 end
5 5
6 def timeline 6 def timeline
7 start_client_config_id = @client_config_id 7 start_client_config_id = @client_config_id
8 8