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

Faster state machine #77

Merged
merged 14 commits into from
Jun 16, 2023
Merged

Faster state machine #77

merged 14 commits into from
Jun 16, 2023

Conversation

mafintosh
Copy link
Owner

Fixes some live lock bugs that happen if you don't call the read cb for a long time, which "live streams" tend to not do

@mafintosh mafintosh merged commit 915d002 into master Jun 16, 2023
3 checks passed
@mafintosh mafintosh deleted the faster-state-machine branch June 16, 2023 16:32
gmaclennan added a commit to digidem/multi-core-indexer that referenced this pull request Jul 6, 2023
We don't yet properly test for back pressure. This was only covered
before because a slow state machine in streamx was resulting in
backpressure here, but the fixes in
mafintosh/streamx#77
resulted in no backpressure, so this line became uncovered by tests
gmaclennan added a commit to digidem/multi-core-indexer that referenced this pull request Jul 6, 2023
We don't yet properly test for back pressure. This was only covered
before because a slow state machine in streamx was resulting in
backpressure here, but the fixes in
mafintosh/streamx#77
resulted in no backpressure, so this line became uncovered by tests
gmaclennan added a commit to digidem/multi-core-indexer that referenced this pull request Jul 6, 2023
* update deps

* chore: update deps not in merge commit

* fix: Ignore missing coverage for backpressure

We don't yet properly test for back pressure. This was only covered
before because a slow state machine in streamx was resulting in
backpressure here, but the fixes in
mafintosh/streamx#77
resulted in no backpressure, so this line became uncovered by tests

* fix: fix for random-access-memory@6

---------

Co-authored-by: Gregor MacLennan <gmaclennan@digital-democracy.org>
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.

None yet

1 participant