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

TykTechnologies / tyk / 3209

Build:
DEFAULT BRANCH: master
Ran 10 Oct 2017 02:09PM UTC
Jobs 1
Files 81
Run time 8s
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
3209

push

travis-ci

mvdan
storage: a couple of redis cleanups

First, don't make all the methods use pointer receivers. None of them
modify the struct, and the struct itself is tiny - just a string and two
bools, which should total three ints. This should mean a slight memory
and performance win, as we don't have to allocate as many objects and we
don't have to jump around memory as much.

Second, refactor GetRelevantClusterReference into a method with a
shorter name, making the code more understandable and simpler.

While replacing RedisCluster pointers with structs, I also noticed how
RedisNotificationHandler could discard notifications if the store wasn't
initialised. Instead, synchronously set up the store, so we know it has
been set up. This is not a problem, given that Connect doesn't actually
block connecting to all the hosts.

5861 of 12799 relevant lines covered (45.79%)

0.5 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3209.2 (LATEST_GO=true) 10 Oct 2017 02:09PM UTC 0
45.79
Travis Job 3209.2
Source Files on build 3209
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3209
  • 8e7743a5 on github
  • Prev Build on master (#3206)
  • Next Build on master (#3213)
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