Skip to content

Use datastore based pinning#7750

Merged
aschmahmann merged 3 commits intomasterfrom
feat/datastore-pinner
Dec 8, 2020
Merged

Use datastore based pinning#7750
aschmahmann merged 3 commits intomasterfrom
feat/datastore-pinner

Conversation

@gammazero
Copy link
Copy Markdown
Contributor

No description provided.

@S3bb1 S3bb1 mentioned this pull request Nov 12, 2020
5 tasks
@akavel
Copy link
Copy Markdown

akavel commented Nov 12, 2020

For easier browsing, the actual implementation used in this PR seems to be: ipfs/go-ipfs-pinner#4

syncInternalDag := &syncDagService{internalDag, syncFn}

pinning, err := pin.LoadPinner(rootDS, syncDs, syncInternalDag)
ctx, cancel := context.WithTimeout(context.TODO(), 2*time.Minute)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I grabbed the 2 minutes from the other PR, but ideally rebuilding shouldn't take this long.

@gammazero gammazero force-pushed the feat/datastore-pinner branch 2 times, most recently from 9b2f971 to 9cc21a7 Compare December 4, 2020 20:11
@aschmahmann aschmahmann force-pushed the feat/datastore-pinner branch from 9cc21a7 to bec1a83 Compare December 4, 2020 20:31
@aschmahmann aschmahmann force-pushed the feat/datastore-pinner branch from bec1a83 to 9bc8f6d Compare December 4, 2020 20:33
@aschmahmann aschmahmann merged commit bf1a449 into master Dec 8, 2020
@gammazero gammazero deleted the feat/datastore-pinner branch December 8, 2020 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants