improve handling of pending claims #61
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
consider soon
dependencies
documentation
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-react-native#61
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "pending-publish"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -24,0 +49,4 @@
},
});
dispatch(batchActions(...actions));
};
what if something another
claim_list_mine
happens while the claim is pending? if something else dispatches this action, won't it overwrite the data?also, isn't lbry-desktop already doing this? is it possible for that code to be shared?
claims.some(aClaim => aClaim.claim_id === claim.claim_id)
if this succinct, not sure if abstraction is necessary
@ -24,0 +49,4 @@
},
});
dispatch(batchActions(...actions));
};
Subsequent calls to
claim_list_mine
are meant to overwrite the data with the assumption that the pending claim will be retrieved at that point.