Skip to content

Commit

Permalink
refactor: gracefully shutdown for gRPC
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Jan 19, 2023
1 parent 7afeea9 commit 682093f
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 141 deletions.
15 changes: 1 addition & 14 deletions Cargo.lock

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

15 changes: 1 addition & 14 deletions massa-grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,20 @@ displaydoc = "0.2"
thiserror = "1.0"
tonic = "0.8.3"
prost = "0.11.6"
async-trait = "0.1.58"
futures-util = "0.3.25"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.87"
tower-http = { version = "0.3.4", features = ["full"] }
tower = { version = "0.4.13", features = ["full"] }
hyper = "0.14.23"
tokio = { version = "1.23", features = ["full"] }
tokio-stream = { version = "0.1", features = ["sync"] }
tracing = "0.1"
itertools = "0.10"
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
# custom modules
massa_consensus_exports = { path = "../massa-consensus-exports" }
massa_hash = { path = "../massa-hash" }
massa_api_exports = { path = "../massa-api-exports" }
massa_models = { path = "../massa-models" }
massa_network_exports = { path = "../massa-network-exports" }
massa_pool_exports = { path = "../massa-pool-exports" }
massa_protocol_exports = { path = "../massa-protocol-exports" }
massa_execution_exports = { path = "../massa-execution-exports" }
massa_pos_exports = { path = "../massa-pos-exports" }
massa_storage = { path = "../massa-storage" }
massa_serialization = { path = "../massa-serialization"}
massa_signature = { path = "../massa-signature" }
massa_time = { path = "../massa-time" }
massa_wallet = { path = "../massa-wallet" }
bytes = "1.3.0"

[build-dependencies]
tonic-build = "0.8.4"
Loading

0 comments on commit 682093f

Please sign in to comment.