Skip to content

feat: Add slow sync strike out logic#2196

Open
sergerad wants to merge 9 commits into
nextfrom
sergerad-dc-slow-sync
Open

feat: Add slow sync strike out logic#2196
sergerad wants to merge 9 commits into
nextfrom
sergerad-dc-slow-sync

Conversation

@sergerad
Copy link
Copy Markdown
Collaborator

@sergerad sergerad commented Jun 4, 2026

Relates to #2176.

Strikes out sync subscriptions / connections when they take longer than block_time seconds to read events. Relies on capacity of the watch channels which is 32 atm.

@sergerad sergerad added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jun 4, 2026
@sergerad
Copy link
Copy Markdown
Collaborator Author

sergerad commented Jun 4, 2026

@Mirko-von-Leipzig this seems like a sensible way of doing it? Might want to tweak the capacity from 32? To lower

Copy link
Copy Markdown
Collaborator

@Mirko-von-Leipzig Mirko-von-Leipzig left a comment

Choose a reason for hiding this comment

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

Code itself looks good; but I think there is a problem with using the block interval conceptually.

Comment thread crates/store/src/state/subscription.rs Outdated
Comment thread crates/store/src/state/subscription.rs
@sergerad sergerad removed the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jun 5, 2026
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.

2 participants