Closed ricardoruwer closed 6 years ago
Nice! 🔥 🔥
@ricardoruwer - Thank you for the contribution and for signing the contribution form. Apologies that this has taken us some time to get to. We are taking a look now and will hopefully include this in the next release. -Aaron, Urban Airship Customer Engineering
This looks good. Going to merge this in so you can build from this source if need be. Otherwise, we should be pushing out a release with this change in the next few days. Thanks again!
This has been released to rubygems with version 4.1.1 today. Thank you again for the contribution!
What does this do and why?
As read on the UrbanAirship docs: "Setting a timeout limit of 60 seconds can result in higher success rates when accessing our API during extremely high loads." but how to do that?! So, this PR adds the option to change the request timeout using the UrbanAirship configurations.
For example:
Testing
[x] I wrote tests covering these changes
I've tested for Ruby versions:
[x] 2.2.5
[x] 2.3.1
[x] 2.4.0