fb4812ec79
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> |
||
---|---|---|
.. | ||
cids.go | ||
ipfs_mock.go | ||
rpc_api_mock.go | ||
test_test.go | ||
test.go |