Skip to content

Commit

Permalink
fix: race conditions in multiplexer (#486)
Browse files Browse the repository at this point in the history
* fix: network  wrapper to use [0u8; 32] task hash

* refactor: cleanup round_based_compat

fix: don't poll newly created futures

* fix: race conditions, out of order delivery

* chore: cleanup
  • Loading branch information
tbraun96 authored Nov 20, 2024
1 parent 4ae043e commit c1037b3
Show file tree
Hide file tree
Showing 6 changed files with 459 additions and 211 deletions.
11 changes: 0 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ testcontainers = { version = "0.20.1" }
# Symbiotic
symbiotic-rs = { version = "0.1.0" }
dashmap = "6.1.0"
bincode2 = "2.0.1"
lru-mem = "0.3.0"

[profile.dev.package.backtrace]
Expand Down
1 change: 0 additions & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ lru-mem = { workspace = true }
sysinfo = { workspace = true }
dashmap = { workspace = true }
lazy_static = "1.5.0"
bincode2 = { workspace = true }
color-eyre = { workspace = true }


Expand Down
2 changes: 1 addition & 1 deletion sdk/src/event_listener/tangle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl<C: ThreadSafeCloneable, E: EventMatcher>
.filter_map(|r| r.ok().and_then(E::try_decode))
.collect::<VecDeque<_>>();

crate::info!("Found {} possible events ...", events.len());
crate::debug!("Found {} possible events ...", events.len());
self.enqueued_events = events;
}
}
Expand Down
Loading

0 comments on commit c1037b3

Please sign in to comment.