Commit d59ea3ee authored by Aaron Petkau's avatar Aaron Petkau

Added additional timeout statement

parent 4303ca03
......@@ -80,7 +80,8 @@ if (not $password) {
print "\n";
}
my $response = HTTP::Tiny->new->post_form($oauth_token_url, {
my $oauth_client = HTTP::Tiny->new(timeout => 600);
my $response = $oauth_client->post_form($oauth_token_url, {
client_id => $client_id,
client_secret => $client_secret,
grant_type => "password",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment