summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorthea <ta.kupler@gmail.com>2016-09-09 14:53:18 +0200
committerthea <ta.kupler@gmail.com>2016-09-09 14:53:18 +0200
commita074684e2556841c75b8db48b10f01d8279c9873 (patch)
treeaae2e1ae7b6bb4be26625facae94c3034800756f /app/helpers
parent160c3a961943aa996982a8d84403957afef0a459 (diff)
changed times for twitter caching
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/twitter_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/twitter_helper.rb b/app/helpers/twitter_helper.rb
index a5e7ae4..0b8f79c 100644
--- a/app/helpers/twitter_helper.rb
+++ b/app/helpers/twitter_helper.rb
@@ -23,7 +23,7 @@ module TwitterHelper
if twitter_user_info[0] == nil
update_twitter_info
else
- if Time.now > twitter_user_info[0] + 15.minutes
+ if Time.now > twitter_user_info[0] + 120.minutes
update_twitter_info
end
end