Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Mar 21, 2024
1 parent aca1d13 commit 41680b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/ott-common/src/discovery/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct DnsDiscoveryConfig {
pub dns_server: Option<SocketAddr>,
/// The A record to query. If using docker-compose, this should be the service name for the monolith.
pub query: String,
/// The configurable polling mode discovery interval, in seconds.
/// The polling mode discovery interval.
#[serde(with = "humantime_serde")]
pub polling_interval: Option<Duration>,
}
Expand Down
2 changes: 1 addition & 1 deletion crates/ott-common/src/discovery/fly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub struct FlyDiscoveryConfig {
/// The port that monoliths should be listening on for load balancer connections.
pub service_port: u16,
pub fly_app: String,
/// The configurable polling mode discovery interval, in seconds.
/// The polling mode discovery interval.
#[serde(with = "humantime_serde")]
pub polling_interval: Option<Duration>,
}
Expand Down

0 comments on commit 41680b7

Please sign in to comment.