Browse Source

fix race condition when dynamic reconnect to quickly to the daemon

tags/v0.3.6
haixuanTao 1 year ago
parent
commit
dfb5c34f13
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      node-hub/terminal-print/src/main.rs

+ 2
- 0
node-hub/terminal-print/src/main.rs View File

@@ -29,6 +29,8 @@ fn main() -> eyre::Result<()> {
_other => {}
}
}
// Waiting for the daemon to update ending of the dataflow.
std::thread::sleep(std::time::Duration::from_secs(1));
} else {
if !printed {
println!("🕐 waiting for node `terminal-print` to be available...");


Loading…
Cancel
Save