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

TykTechnologies / tyk / 6567 / 2

Build:
DEFAULT BRANCH: master
Ran 03 May 2019 12:13PM UTC
Files 110
Run time 5s
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

03 May 2019 12:03PM UTC coverage: 63.002% (+0.2%) from 62.802%
LATEST_GO=true

push

travis-ci

buger
stop circuit breaker Go routine before reloading api spec (#2256)

added changes for:
```
File: tyk
Type: goroutine
Time: May 1, 2019 at 4:32pm (EDT)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) top10
Showing nodes accounting for 10488, 100% of 10490 total
Dropped 74 nodes (cum <= 52)
Showing top 10 nodes out of 22
      flat  flat%   sum%        cum   cum%
     10488   100%   100%      10488   100%  runtime.gopark
         0     0%   100%         96  0.92%  bufio.(*Reader).Peek
         0     0%   100%        141  1.34%  bufio.(*Reader).fill
         0     0%   100%        999  9.52%  github.com/TykTechnologies/tyk/vendor/github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer.func1
         0     0%   100%       4557 43.44%  github.com/TykTechnologies/tyk/vendor/github.com/rubyist/circuitbreaker.(*Breaker).Subscribe.func1
         0     0%   100%        145  1.38%  internal/poll.(*FD).Read
         0     0%   100%        147  1.40%  internal/poll.(*pollDesc).wait
         0     0%   100%        147  1.40%  internal/poll.(*pollDesc).waitRead
         0     0%   100%        147  1.40%  internal/poll.runtime_pollWait
         0     0%   100%       4557 43.44%  main.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1
(pprof)
```
this change addresses `4557 43.44%  main.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1`

to fix it completely we need to fix `github.com/rubyist/circuitbreaker.(*Breaker).Subscribe`

10825 of 17182 relevant lines covered (63.0%)

0.7 hits per line

Source Files on job 6567.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6002
  • Travis Job 6567.2
  • 402be5db on github
  • Prev Job for LATEST_GO=true on master (#6565.2)
  • Next Job for LATEST_GO=true on master (#6572.2)
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