spaceship/lib/spaceship/connect_api/client.rb in fastlane-2.152.0 vs spaceship/lib/spaceship/connect_api/client.rb in fastlane-2.153.0
- old
+ new
@@ -86,11 +86,11 @@
end
end
handle_response(response)
end
- def post(url_or_path, body)
- response = with_asc_retry do
+ def post(url_or_path, body, tries: 5)
+ response = with_asc_retry(tries) do
request(:post) do |req|
req.url(url_or_path)
req.body = body.to_json
req.headers['Content-Type'] = 'application/json'
end