forked from e621ng/e621ng
change papi token timeout
This commit is contained in:
parent
80b4db18d2
commit
1eae80a82c
@ -384,6 +384,3 @@ DEPENDENCIES
|
||||
vcr
|
||||
webmock
|
||||
whenever
|
||||
|
||||
BUNDLED WITH
|
||||
1.10.0
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user