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

sferik / twitter / 1693 / 6
99%
master: 3%

Build:
Build:
LAST BUILD BRANCH: patch-2
DEFAULT BRANCH: master
Ran 08 Nov 2017 09:43PM UTC
Files 87
Run time 5s
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

08 Nov 2017 09:25PM UTC coverage: 99.169% (-0.09%) from 99.263%
jruby-head

push

travis-ci

sferik
[6-stable] Add TCP keepalive in Twitter::Streaming::Connection (#856)

* Add TCP keepalive in Twitter::Streaming::Connection

Without correct TCP keepalive setup, the Twitter streaming client is
prone to hang on long-lived connections. This is due to the nature of
the protocol: a single request is made, then the client simply waits for
data to read on a socket. Without keepalive, it may be indistinguishable
to the client whether the connection has failed or there is simply no
data to read.

These changes add the ability to set TCP keepalive providing the OS
supports it. They also provide a set of sensible defaults to the
keepalive for this implementation, while disabled by default.

* Add tests around keepalive setup

2029 of 2046 relevant lines covered (99.17%)

33.32 hits per line

Source Files on job 1693.6 (jruby-head)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1693
  • Travis Job 1693.6
  • d9cde55a on github
  • Prev Job for jruby-head on 6-stable (#1690.6)
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