actually up timeout to 15s for transifex

This commit is contained in:
Jeremy Kauffman 2019-12-23 10:09:02 -05:00 committed by GitHub
parent ac4c513a5c
commit 7bfc8081c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ class Transifex
return json_decode(CurlWithCache::get($url, [], [ return json_decode(CurlWithCache::get($url, [], [
'password' => 'api:' . Config::get(Config::TRANSIFEX_API_KEY), 'password' => 'api:' . Config::get(Config::TRANSIFEX_API_KEY),
'cache' => $cache ? 1000 * 60 * 60 * 8 : false, 'cache' => $cache ? 1000 * 60 * 60 * 8 : false,
'timeout' => 5 'timeout' => 15
]), true); ]), true);
} }
} }