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

ICRAR / ngas / 259
69%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2018 07:29AM UTC
Jobs 7
Files 161
Run time 13min
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
259

push

travis-ci

rtobar
Using sendfile to POST files

If we recognize `data` as being a file object that points to an actual
file then we use sendfile (via the pysendfile module) to send it through
the socket that underlies the HTTP connection object. We still use
conn.request() to place the request headers and flush it, leaving only
the body up to sendfile.

This change should benefit the ngamsPClient class and command tool in
cases when files are being archived. Additionally the subscription
thread should also see benefits, as it also POSTs files to subscribers.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

12441 of 19176 relevant lines covered (64.88%)

4.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 259.1 (DB=sqlite3) 09 Nov 2018 07:31AM UTC 0
64.55
Travis Job 259.1
2 259.2 (DB=mysql) 09 Nov 2018 07:32AM UTC 0
64.63
Travis Job 259.2
3 259.3 (DB=postgresql) 09 Nov 2018 07:33AM UTC 0
64.59
Travis Job 259.3
4 259.4 09 Nov 2018 07:41AM UTC 0
64.53
Travis Job 259.4
5 259.5 09 Nov 2018 07:29AM UTC 0
64.64
Travis Job 259.5
6 259.6 09 Nov 2018 07:40AM UTC 0
64.69
Travis Job 259.6
7 259.7 09 Nov 2018 07:42AM UTC 0
64.72
Travis Job 259.7
Source Files on build 259
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #259
  • db93b0d8 on github
  • Prev Build on master (#252)
  • Next Build on master (#260)
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