-
Notifications
You must be signed in to change notification settings - Fork 10
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
[PLA-2087] Catch all handlers #68
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
enhancement, bug fix
Description
tokio::select!
for concurrent execution and added error handling for subscription job failures.start
methods inSubscriptionJob
,TransactionJob
, andDeriveWalletJob
to returnJoinHandle
for better task management..env
file to clear theRUST_LOG
environment variable.anyhow
as a new dependency inCargo.toml
.Changes walkthrough 📝
main.rs
Concurrent job execution with error handling
src/main.rs
tokio::select!
for concurrentexecution.
subscription.rs
Improved subscription job concurrency and error logging
src/subscription.rs
start
method to returnJoinHandle
.tokio::select!
for concurrent block and runtime subscription.transaction.rs
Return `JoinHandle` for transaction job start
src/transaction.rs
start
method to returnJoinHandle
.wallet.rs
Return `JoinHandle` for wallet job start
src/wallet.rs
start
method to returnJoinHandle
..env
Update logging configuration in environment file
.env
RUST_LOG
environment variable.Cargo.toml
Version bump and dependency update
Cargo.toml
anyhow
dependency.