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

sferik / twitter / 1666
99%
master: 3%

Build:
Build:
LAST BUILD BRANCH: patch-2
DEFAULT BRANCH: master
Ran 15 Jun 2017 01:50PM UTC
Jobs 6
Files 87
Run time 26min
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
1666

Pull #856

travis-ci

web-flow
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.
Pull Request #856: [6-stable] Add TCP keepalive in Twitter::Streaming::Connection

11 of 11 new or added lines in 1 file covered. (100.0%)

2048 of 2063 relevant lines covered (99.27%)

182.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
100.0
lib/twitter/streaming/connection.rb
Jobs
ID Job ID Ran Files Coverage
1 1666.1 (2.0.0) 15 Jun 2017 01:50PM UTC 0
99.26
Travis Job 1666.1
2 1666.2 (2.1) 15 Jun 2017 01:50PM UTC 0
99.26
Travis Job 1666.2
3 1666.3 (2.2) 15 Jun 2017 01:50PM UTC 0
99.26
Travis Job 1666.3
4 1666.4 (2.3.3) 15 Jun 2017 01:51PM UTC 0
99.26
Travis Job 1666.4
5 1666.5 (jruby-9.1.6.0) 15 Jun 2017 02:16PM UTC 0
99.26
Travis Job 1666.5
8 1666.8 (ruby-head) 15 Jun 2017 01:53PM UTC 0
99.26
Travis Job 1666.8
Source Files on build 1666
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1666
  • Pull Request #856
  • PR Base - 6-stable (#1633)
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