We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e68cbb5 commit 0f1c0d9Copy full SHA for 0f1c0d9
aggregation_mode/batcher/src/main.rs
@@ -38,6 +38,7 @@ async fn main() {
38
let payment_poller_handle = tokio::spawn(async move { payment_poller.start().await });
39
let http_server_handle = tokio::spawn(async move { http_server.start().await });
40
41
+ // TODO: maybe this could two different processes (started with different commands) instead of being in the same one
42
// TODO: abort the process if one stops instead of waiting for them both
43
// TODO: ctrl + c handler for aborting the process should work
44
let _ = tokio::join!(payment_poller_handle, http_server_handle);
0 commit comments