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

TykTechnologies / tyk / 5722 / 1
62%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 07 Nov 2018 01:11PM UTC
Files 89
Run time 7s
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

07 Nov 2018 01:06PM UTC coverage: 60.195% (-0.6%) from 60.824%
LATEST_GO=true

push

travis-ci

buger
Reuse client for heartbeat. (#1946)

Fixes #1951
This prevents the issue with spawning a new open socket for each gateway to dashboard heartbeat that is observed in TLS connections when the default transport is overidden.

From Go client.go:

```
// The Client's Transport typically has internal state (cached TCP
// connections), so Clients should be reused instead of created as
// needed. Clients are safe for concurrent use by multiple goroutines.
```

Since we are doing the same operation constantly it makes more sense to create a single client and reuse the connection for the dashboard heartbeat.

9208 of 15297 relevant lines covered (60.19%)

0.67 hits per line

Source Files on job 5722.1 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5231
  • Travis Job 5722.1
  • 0e796294 on github
  • Prev Job for LATEST_GO=true on release-2.8 (#5717.2)
  • Next Job for LATEST_GO=true on release-2.8 (#5724.1)
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