Skip to content

Commit

Permalink
refactor: supervise spawned tasks (#4716)
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <[email protected]>
  • Loading branch information
0x009922 authored Sep 9, 2024
1 parent c3008e3 commit 23a7755
Show file tree
Hide file tree
Showing 36 changed files with 1,710 additions and 1,084 deletions.
995 changes: 517 additions & 478 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ futures = { version = "0.3.30", default-features = false }
tokio = "1.39.2"
tokio-stream = "0.1.15"
tokio-tungstenite = "0.21.0"
tokio-util = "0.7.11"
tungstenite = "0.21.0"
crossbeam-queue = "0.3.11"
parking_lot = { version = "0.12.3" }
Expand Down
7 changes: 1 addition & 6 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ dev-telemetry = ["telemetry", "iroha_telemetry/dev-telemetry", "iroha_logger/tok
# Support schema generation from the `schema` endpoint in the local binary.
# Useful for debugging issues with decoding in SDKs.
schema-endpoint = ["iroha_torii/schema"]
# Support internal testing infrastructure for integration tests.
# Disable in production.
test-network = ["thread-local-panic-hook"]

[badges]
is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" }
Expand All @@ -58,13 +55,12 @@ error-stack = { workspace = true, features = ["eyre"] }
thiserror = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true, features = ["macros", "signal"] }
tokio-util = { workspace = true, features = ["rt"] }
once_cell = { workspace = true }
owo-colors = { workspace = true, features = ["supports-colors"] }
supports-color = { workspace = true }
toml = { workspace = true }

thread-local-panic-hook = { version = "0.1.0", optional = true }

[dev-dependencies]
serial_test = "3.1.1"
tempfile = { workspace = true }
Expand All @@ -82,6 +78,5 @@ vergen = { workspace = true, features = ["cargo"] }
denylist = [
"schema-endpoint",
"telemetry",
"test-network",
]
skip_optional_dependencies = true
Loading

0 comments on commit 23a7755

Please sign in to comment.