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

ccnmtl / hound / 90
29%
master: 39%

Build:
Build:
LAST BUILD BRANCH: bootstrap-4.6.0
DEFAULT BRANCH: master
Ran 07 May 2020 02:58AM UTC
Jobs 1
Files 5
Run time 1s
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 May 2020 02:57AM UTC coverage: 28.707%. Remained the same
90

push

travis-ci

nikolas
Close the http.Get() request after opened

Hound sometimes gives errors like these when it's backed up:

    http: Accept error: accept tcp [::]:9999: accept4: too many open files;

I think this can be avoided with the changes here. It's best practice to
close the http.Get() response, and also to use a new instance of
http.Client instead of the http.DefaultClient singleton (used by calls
to http.Get()).

I've given the new http.Client a 2-second timeout, which should be fine,
but we can adjust as needed.

* https://stackoverflow.com/a/48342086/173630
* https://golang.org/pkg/net/http/

242 of 843 relevant lines covered (28.71%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 90.1 07 May 2020 02:58AM UTC 0
28.71
Travis Job 90.1
Source Files on build 90
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #90
  • dc4b1392 on github
  • Prev Build on http-close (#89)
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