• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stripe / stripe-ruby / 3414
97%

Build:
DEFAULT BRANCH: master
Ran 20 Aug 2019 08:55PM UTC
Jobs 5
Files 97
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3414

push

travis-ci

brandur-stripe
Increase connection keep alive timeout to 30 seconds (#836)

One thing I forgot to look into was how long Ruby will hold a connection
open by default. It turns out that the language default is very low at
only two seconds. Here we increase it to 30 seconds, which is a more
reasonable default. I took this number from Go's `DefaultTransport`,
which seems to have been working pretty well so far.

I tested with a script that keeps a connection idle to Stripe for a long
period of time before issuing a new request and everything seems to be
working well.

1853 of 1929 relevant lines covered (96.06%)

2440.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3414.1 (2.3) 20 Aug 2019 08:55PM UTC 0
96.17
Travis Job 3414.1
2 3414.2 (2.4) 20 Aug 2019 08:55PM UTC 0
96.17
Travis Job 3414.2
3 3414.3 (2.5) 20 Aug 2019 08:56PM UTC 0
96.17
Travis Job 3414.3
4 3414.4 (2.6) 20 Aug 2019 08:56PM UTC 0
96.14
Travis Job 3414.4
5 3414.5 (jruby-9.2.7.0) 20 Aug 2019 08:58PM UTC 0
0.0
Travis Job 3414.5
Source Files on build 3414
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3414
  • 650114ab on github
  • Prev Build on master (#3413)
  • Next Build on master (#3415)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc