ipfs-cluster/test
Hector Sanjuan fb4812ec79 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>
2018-03-09 15:01:29 +01:00
..
cids.go Testing and polishing connection graph 2018-01-22 10:03:37 -05:00
ipfs_mock.go Feat #326: Adds "refs -r" pinning method support + multiple pin workers 2018-03-09 15:01:29 +01:00
rpc_api_mock.go Testing and polishing connection graph 2018-01-22 10:03:37 -05:00
test_test.go Issue #41: Add Replication factor 2017-02-14 19:13:08 +01:00
test.go Move testing mocks to subpackage so they can be re-used 2017-02-09 17:51:19 +01:00