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

ICRAR / ngas / 258
68%
master: 69%

Build:
Build:
LAST BUILD BRANCH: config_use_prepared_stmts_for_clients
DEFAULT BRANCH: master
Ran 09 Nov 2018 06:44AM UTC
Jobs 6
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
258

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>

12447 of 19176 relevant lines covered (64.91%)

3.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 258.1 (DB=sqlite3) 09 Nov 2018 06:46AM UTC 0
64.56
Travis Job 258.1
2 258.2 (DB=mysql) 09 Nov 2018 06:47AM UTC 0
64.7
Travis Job 258.2
3 258.3 (DB=postgresql) 09 Nov 2018 06:47AM UTC 0
64.58
Travis Job 258.3
5 258.5 09 Nov 2018 06:44AM UTC 0
64.67
Travis Job 258.5
6 258.6 09 Nov 2018 06:56AM UTC 0
64.63
Travis Job 258.6
7 258.7 09 Nov 2018 06:57AM UTC 0
64.71
Travis Job 258.7
Source Files on build 258
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #258
  • db93b0d8 on github
  • Prev Build on next (#257)
  • Next Build on next (#263)
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