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

TykTechnologies / tyk / 5721
60%
master: %

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

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.

8695 of 14506 relevant lines covered (59.94%)

1.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5721.1 (LATEST_GO=true) 07 Nov 2018 01:11PM UTC 0
59.3
Travis Job 5721.1
2 5721.2 (LATEST_GO=true) 07 Nov 2018 01:11PM UTC 0
59.94
Travis Job 5721.2
Source Files on build 5721
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5721
  • 8e8731ef on github
  • Prev Build on release-2.7 (#5716)
  • Next Build on release-2.7 (#5723)
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

© 2025 Coveralls, Inc