-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support refs -r
pinning method
#326
Labels
exp/intermediate
Prior experience is likely helpful
P2
Medium: Good to have, but can wait until someone steps up
Comments
|
hsanjuan
added a commit
that referenced
this issue
Mar 7, 2018
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 Documentation for the configuration file has been updated. License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
hsanjuan
added a commit
that referenced
this issue
Mar 7, 2018
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 Documentation for the configuration file has been updated. License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
hsanjuan
added a commit
that referenced
this issue
Mar 7, 2018
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>
hsanjuan
added a commit
that referenced
this issue
Mar 7, 2018
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>
hsanjuan
added a commit
that referenced
this issue
Mar 9, 2018
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>
hsanjuan
added a commit
that referenced
this issue
Mar 10, 2018
Feat #326: Adds "refs -r" pinning method support + multiple pin workers
Closed
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
exp/intermediate
Prior experience is likely helpful
P2
Medium: Good to have, but can wait until someone steps up
It should be possible to configure the ipfs connector to perform pinning with
refs -r
+ pin rather than justpin
. This should allow to perform fetching in parallel.The text was updated successfully, but these errors were encountered: