Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: exclude pieces from part keepalive #29

Open
wants to merge 2 commits into
base: bbc-release52
Choose a base branch
from

Conversation

Julusian
Copy link
Collaborator

@Julusian Julusian commented Oct 29, 2024

Recommended to review each commit separately. The first does some refactoring, the last has the functional changes.

Change size isn't as bad as it looks, some new tests were added covering existing behaviour using snapshots, massively inflating the diff size.

The basic approach is that when a piece wants to not operate in the keepalive, it gets put into a 'sub-group' inside the part group. Then when the partGroup has a duration, this no-keepalive group can set an end in the form #parentGroup.end - 123.

For infinites, this is done a little differently, but as they already use their own groups with an end of the same format, we can offset that number to avoid the keepalive period

@Julusian Julusian force-pushed the feat/exclude-pieces-from-part-keepalive branch 3 times, most recently from 0208308 to 908c2e8 Compare October 29, 2024 15:03
@Julusian Julusian marked this pull request as ready for review October 29, 2024 15:05
@Julusian Julusian force-pushed the feat/exclude-pieces-from-part-keepalive branch from 908c2e8 to 0fb1752 Compare October 29, 2024 15:06
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.

1 participant