Skip to content

Commit e68f0e1

Browse files
committed
fix: workspace stop - wait longer for containers to stop
1 parent e14a3fd commit e68f0e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/container.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl<'a> ContainerApi<'a> {
7070

7171
pub async fn stop(&self, container_id: &str) -> Result<(), AnyError> {
7272
self.client
73-
.stop_container(&container_id, Some(StopContainerOptions { t: 0 }))
73+
.stop_container(&container_id, Some(StopContainerOptions { t: 30 }))
7474
.await?;
7575
let mut count = 10;
7676
while count > 0 {

0 commit comments

Comments
 (0)