diff options
author | Marie <ml.kochsiek@fu-berlin.de> | 2016-09-09 15:37:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 15:37:48 +0000 |
commit | 8fd3aae30e7bfae18d99d936ef5428e8046ab58a (patch) | |
tree | bb11c70b265ceee60453b88bdcd6f170141d3161 /app | |
parent | dd568d93d86876d80d93cfc96417b0882391f7f7 (diff) | |
parent | dcd20f9b532bc7490e45ddda68e228f4c9bf2b93 (diff) |
Merge pull request #5 from LoadToCode/thea
Cool! \o/
timing for twitter caching + script for invalidating token
Diffstat (limited to 'app')
-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 |