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

ipfs / ipfs-cluster / 1715
68%
master: 65%

Build:
Build:
LAST BUILD BRANCH: feat/expvar
DEFAULT BRANCH: master
Ran 07 Mar 2018 02:45PM UTC
Jobs 1
Files 40
Run time 3s
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
1715

push

travis-ci

hsanjuan
Feat #326: Adds "refs -r" pinning method support + multiple pin workers

This fixes #326. It adds a new `pin_method` configuration option to the
`ipfshttp` component allows to configure it to perform `refs -r <cid>` before
the `pin/add` call. By fetching content before pinning, we don't have
a global lock in place, and we can have several pin-requests to
ipfs in parallel.

It also adds a `concurrent_pins` option to the pin tracker, which
launches more pin workers so it can potentially trigger more pins at
the same time. This is a minimal intervention in the pintracker as #308
is still pending.

Documentation for the configuration file has been updated.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>

86 of 86 new or added lines in 5 files covered. (100.0%)

4520 of 6660 relevant lines covered (67.87%)

404.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
pintracker/maptracker/config.go
10
100.0
ipfsconn/ipfshttp/config.go
10
100.0
test/ipfs_mock.go
11
100.0
ipfsconn/ipfshttp/ipfshttp.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
cluster.go
7
100.0
pintracker/maptracker/config.go
10
100.0
ipfsconn/ipfshttp/config.go
15
100.0
test/ipfs_mock.go
28
100.0
pintracker/maptracker/maptracker.go
50
100.0
ipfsconn/ipfshttp/ipfshttp.go
Jobs
ID Job ID Ran Files Coverage
1 1715.1 07 Mar 2018 02:45PM UTC 0
67.87
Travis Job 1715.1
Source Files on build 1715
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1715
  • 6ce5baff on github
  • Prev Build on feat/pin-refs (#1714)
  • Next Build on feat/pin-refs (#1722)
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