Skip to content

Commit 92b4b89

Browse files
author
Anmol Goyal
authored
[ISSUE #3938]Add #[inline] for BrokerBootstrap initialize method and start method (#4042)
1 parent a4569f5 commit 92b4b89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rocketmq-broker/src/broker_bootstrap.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ impl BrokerBootstrap {
3939

4040
tokio::join!(self.start(), wait_for_signal_inner(shutdown_tx));
4141
}
42-
42+
#[inline]
4343
async fn initialize(&mut self) -> bool {
4444
self.broker_runtime.initialize().await
4545
}
46-
46+
#[inline]
4747
async fn start(&mut self) {
4848
self.broker_runtime.start().await;
4949
}

0 commit comments

Comments
 (0)