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

TykTechnologies / tyk / 8426
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 01 Mar 2020 03:29PM UTC
Jobs 1
Files 86
Run time 7s
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
8426

push

travis-ci

Tyk Bot
coprocess_python: makes sure that PyBytesFromString releases memory. (#2895)

Fix for #2894, similar to #1886:

1. Implemented bindings for `Py_IncRef`, `Py_DecRef` and `PyTuple_ClearFreeList` (could be potentially used).
2. Corrected `free` call in `PyBytesFromString`.
3. Added refcount handlers in `coprocess_python.go`.

With this patch, GC object count looks better over time (using the middleware attached in #2894):

```
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
myhook called
29509
```

Under some scenarios, additional tweaks might be required (either on the plugin side or Tyk Python code side) to run the GC collection more often, etc.

(cherry picked from commit 0f8d8813d)

10871 of 17842 relevant lines covered (60.93%)

148.92 hits per line

Jobs
ID Job ID Ran Files Coverage
2 8426.2 (LATEST_GO=true) 01 Mar 2020 03:29PM UTC 0
60.93
Travis Job 8426.2
Source Files on build 8426
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8426
  • 084b14ab on github
  • Prev Build on release-2.9 (#8417)
  • Next Build on release-2.9 (#8457)
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