diff options
author | thea <ta.kupler@gmail.com> | 2016-09-09 14:53:18 +0200 |
---|---|---|
committer | thea <ta.kupler@gmail.com> | 2016-09-09 14:53:18 +0200 |
commit | a074684e2556841c75b8db48b10f01d8279c9873 (patch) | |
tree | aae2e1ae7b6bb4be26625facae94c3034800756f /app/helpers/twitter_helper.rb | |
parent | 160c3a961943aa996982a8d84403957afef0a459 (diff) |
changed times for twitter caching
Diffstat (limited to 'app/helpers/twitter_helper.rb')
-rw-r--r-- | app/helpers/twitter_helper.rb | 2 |
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 |