Skip to content

Commit 05bd7c4

Browse files
committed
Change timeout
1 parent 926eff6 commit 05bd7c4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/epsilon/server/instance.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl Instance {
9999
let address_option = status.pod_ip.as_ref();
100100

101101
if let Some(address) = address_option {
102-
let timeout = Duration::from_millis(500);
102+
let timeout = Duration::from_millis(150);
103103
let config = ConnectionConfig::build(address).with_timeout(timeout);
104104

105105
Ok(config.connect().await?.status().await?.status)
@@ -168,12 +168,8 @@ impl Instance {
168168
}
169169

170170
pub async fn to_json(&self) -> InstanceJson {
171-
info!("Converting instance to json");
172-
173171
let info_result = self.get_info().await;
174172

175-
info!("Got info");
176-
177173
InstanceJson {
178174
name: self.get_name().to_string(),
179175
template: self.get_template_name().to_string(),

0 commit comments

Comments
 (0)