Skip to content

Commit

Permalink
fix: fix pr comment on default annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyc committed Oct 13, 2023
1 parent 7fcc5b7 commit b41fc0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/meta-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub mod error;
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
pub struct MetaClientOptions {
pub metasrv_addrs: Vec<String>,
#[serde(default = "default_timeout")]
#[serde(with = "humantime_serde")]
pub timeout: Duration,
#[serde(default = "default_heartbeat_timeout")]
Expand All @@ -31,6 +32,7 @@ pub struct MetaClientOptions {
#[serde(default = "default_ddl_timeout")]
#[serde(with = "humantime_serde")]
pub ddl_timeout: Duration,
#[serde(default = "default_connect_timeout")]
#[serde(with = "humantime_serde")]
pub connect_timeout: Duration,
pub tcp_nodelay: bool,
Expand Down

0 comments on commit b41fc0b

Please sign in to comment.