Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix: don't wait for queue adder in cib
Lars Wirzenius committed 1 year ago
commit 9f238c4988e607413e7032d32c76f2af4c1ea08c
parent 32562b760526597ebf593bc66765da23bd871015
1 file changed +1 -6
modified src/bin/cib.rs
@@ -170,7 +170,7 @@ impl ProcessEventsCmd {
            .push_shutdown()
            .build()
            .map_err(CibError::QueueAdder)?;
-
        let adder = adder.add_events_in_thread();
+
        adder.add_events_in_thread();

        let profile = Profile::load().map_err(CibError::profile)?;

@@ -211,11 +211,6 @@ impl ProcessEventsCmd {
            .expect("wait for processor thread to finish")
            .map_err(CibError::process_queue)?;

-
        adder
-
            .join()
-
            .expect("wait for adder thread to finish")
-
            .map_err(CibError::add_events)?;
-

        debug!("cib ends");
        Ok(())
    }