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

stripe / stripe-ruby / 3414 / 3
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 20 Aug 2019 08:56PM UTC
Files 97
Run time 6s
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

20 Aug 2019 08:54PM UTC coverage: 96.167% (+0.002%) from 96.165%
2.5

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.

1907 of 1983 relevant lines covered (96.17%)

618.89 hits per line

Source Files on job 3414.3 (2.5)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3246
  • Travis Job 3414.3
  • 650114ab on github
  • Prev Job for 2.5 on master (#3413.3)
  • Next Job for 2.5 on master (#3415.3)
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