Skip to content

Commit a6db4c0

Browse files
committed
[eclipse-iceoryx#674] Rename Monitor to Service
1 parent e0b4bb7 commit a6db4c0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

iceoryx2-cli/iox2-service/src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub struct DiscoveryOptions {
6262
#[clap(
6363
short,
6464
long,
65-
default_value = "1000",
65+
default_value = "100",
6666
help = "Update rate in milliseconds"
6767
)]
6868
pub rate: u64,

iceoryx2-cli/iox2-service/src/commands.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,10 @@ pub fn discovery(
144144
DiscoveryService::<ipc::Service>::create(&monitor_config, &Config::global_config())
145145
.map_err(|e| anyhow::anyhow!("failed to create service monitor: {:?}", e))?;
146146

147-
println!("=== Service Discovery Service Started ===");
147+
println!(
148+
"=== Service Discovery Service Started (rate: {}ms) ===",
149+
rate
150+
);
148151
println!(
149152
"{}",
150153
format.as_string(&SerializableDiscoveryConfig::from_config(&monitor_config))?

0 commit comments

Comments
 (0)