We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099dd42 commit 89a95aeCopy full SHA for 89a95ae
1 file changed
src/lib.rs
@@ -225,7 +225,8 @@ impl Node {
225
// Acquire a run lock and hold it until we're setup.
226
let mut is_running_lock = self.is_running.write().unwrap();
227
if *is_running_lock {
228
- return Err(Error::AlreadyRunning);
+ // Already running, return success (idempotent)
229
+ return Ok(());
230
}
231
232
log_info!(
0 commit comments