lib/agx/content/client.rb in agx-0.2.8 vs lib/agx/content/client.rb in agx-0.2.9
- old
+ new
@@ -115,10 +115,13 @@
def set_client
@client = OAuth2::Client.new(
@client_id,
@client_secret,
site: @site,
- token_url: @token_url
+ token_url: @token_url,
+ connection_opts: {
+ request: { timeout: 300 }
+ }
)
end
end
end