Try moving the sleep
@@ -109,8 +109,8 @@ fn onramp_loop(
}
//TODO: This is super gugly:
- if config.close_on_done {
thread::sleep(Duration::from_millis(500));
+ if config.close_on_done {
// ALLOW: This is on purpose, close when done tells the onramp to terminate when it's done with sending it's data - this is for one off's
process::exit(0);
}
