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

TykTechnologies / tyk / 7944
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 20 Dec 2019 11:04AM UTC
Jobs 1
Files 0
Run time –
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
7944

push

travis-ci

buger
Fix cb subscribe goroutine leak (#2649)

This change fixes memory leak caused by infinite CB-subscribe routines running, i.e. this situation:
```
Showing top 20 nodes out of 22
      flat  flat%   sum%        cum   cum%
     12061   100%   100%      12061   100%  runtime.gopark
         0     0%   100%        112  0.93%  bufio.(*Reader).Peek
         0     0%   100%        117  0.97%  bufio.(*Reader).fill
         0     0%   100%         72   0.6%  github.com/TykTechnologies/tyk/gateway.(*OrganizationMonitor).SetOrgSentinel
         0     0%   100%        150  1.24%  github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1
         0     0%   100%       2675 22.18%  github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer.func1
         0     0%   100%       8850 73.36%  github.com/TykTechnologies/tyk/vendor/github.com/rubyist/circuitbreaker.(*Breaker).Subscribe.func1
         0     0%   100%        125  1.04%  internal/poll.(*FD).Read
         0     0%   100%        127  1.05%  internal/poll.(*pollDesc).wait
         0     0%   100%        127  1.05%  internal/poll.(*pollDesc).waitRead
         0     0%   100%        127  1.05%  internal/poll.runtime_pollWait
         0     0%   100%        125  1.04%  net.(*conn).Read
         0     0%   100%        125  1.04%  net.(*netFD).Read
         0     0%   100%         79  0.65%  net/http.(*persistConn).Read
         0     0%   100%         82  0.68%  net/http.(*persistConn).readLoop
         0     0%   100%         82  0.68%  net/http.(*persistConn).writeLoop
         0     0%   100%      11754 97.44%  runtime.chanrecv
         0     0%   100%       2678 22.20%  runtime.chanrecv1
         0     0%   100%       9076 75.24%  runtime.chanrecv2
         0     0%   100%      11766 97.54%  runtime.goparkunlock
```
note:
```
         0     0%   100%       8850 73.36%  github.com/TykTechnologies/tyk/vendor/github.com/r... (continued)
Jobs
ID Job ID Ran Files Coverage
2 7944.2 (LATEST_GO=true) 20 Dec 2019 11:04AM UTC 0
Travis Job 7944.2
Source Files on build 7944
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7944
  • 0dbf6008 on github
  • Prev Build on release-2.9 (#7938)
  • Next Build on release-2.9 (#7960)
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