change papi token timeout

This commit is contained in:
r888888888 2015-08-24 22:54:39 -07:00
parent 80b4db18d2
commit 1eae80a82c
2 changed files with 1 additions and 4 deletions

View File

@ -384,6 +384,3 @@ DEPENDENCIES
vcr
webmock
whenever
BUNDLED WITH
1.10.0

View File

@ -142,7 +142,7 @@ private
end
def access_token
Cache.get("pixiv-papi-access-token", 300) do
Cache.get("pixiv-papi-access-token", 60) do
access_token = nil
headers = {
"Referer" => "http://www.pixiv.net"