fireproof-storage / fireproof-storage/fireproof
fast forward remote changes
- Dominant language
- TypeScript
- Stars
- 973
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
When a remote makes a sequence of changes in quick succession, they might come faster than the local can merge them.
Most of the time when this happens we can just skip to the most recent one, assuming they are a direct chain of parent/child relationships.
https://www.youtube.com/watch?v=j0X9fRf4cTk
The video shows the queue buildup we can fast foward.
Here is the code to where we can fast foward through parent child chains in the queue https://github.com/fireproof-storage/fireproof/blob/de8c51f348ad88d3e5a479e3774ffa1ee1577af0/packages/fireproof/src/apply-head-queue.ts#L29
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.