Token blocking calls timeout set to 3 seconds

This commit is contained in:
Matthias Sandmann 2022-03-27 01:19:49 +01:00
parent 66d0c87f09
commit 890813eaa2
1 changed files with 2 additions and 2 deletions

View File

@ -1109,7 +1109,7 @@ sub _newTokenRequest {
url => $hash->{APIURI} . $dpoints{getOAuthToken},
header => { "Content-Type" => "application/json" },
method => 'POST',
timeout => 5,
timeout => 3,
hash => $hash,
data => encode_json $data
};
@ -1174,7 +1174,7 @@ sub _tokenRefresh {
url => $hash->{APIURI} . $dpoints{getRefreshToken},
header => { "Content-Type" => "application/json" },
method => 'POST',
timeout => 5,
timeout => 3,
hash => $hash,
data => encode_json $data
};