mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
more s3 start time
This commit is contained in:
parent
df186df3c3
commit
2886174c5a
1 changed files with 2 additions and 2 deletions
|
|
@ -46,14 +46,14 @@ impl Service {
|
|||
}
|
||||
|
||||
pub async fn wait_for_start(&self, docker: &Docker, cloud_id: &str) -> Result<()> {
|
||||
timeout(Duration::from_secs(15), async {
|
||||
timeout(Duration::from_secs(30), async {
|
||||
while !self.is_healthy(docker, cloud_id).await? {
|
||||
sleep(Duration::from_millis(100)).await
|
||||
}
|
||||
Ok(())
|
||||
})
|
||||
.await
|
||||
.wrap_err("Timeout after 15 seconds")?
|
||||
.wrap_err("Timeout after 30 seconds")?
|
||||
}
|
||||
|
||||
pub fn container_name(&self, cloud_id: &str) -> String {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue