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

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

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

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>

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

4499 of 6645 relevant lines covered (67.71%)

403.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
ipfsconn/ipfshttp/config.go
2
100.0
pintracker/maptracker/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
monitor/basic/peer_monitor.go
3
100.0
rpc_api.go
4
100.0
allocate.go
5
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
52
100.0
ipfsconn/ipfshttp/ipfshttp.go
Jobs
ID Job ID Ran Files Coverage
1 1714.1 07 Mar 2018 02:28PM UTC 0
67.71
Travis Job 1714.1
Source Files on build 1714
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1714
  • 4ff53ab1 on github
  • Prev Build on feat/pin-refs (#1712)
  • Next Build on feat/pin-refs (#1715)
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