fix: potential fix for the docker leaking the errors and such (#1496)

* fix: potential fix for the docker leaking the errors and such

* chore: Make sure that the buffer during reading the output will not exceed 10mb ish

* Chore: Add testing
This commit is contained in:
J M
2022-06-07 11:11:43 -06:00
committed by GitHub
parent 4286edd78f
commit f234f894af
3 changed files with 238 additions and 49 deletions

22
backend/Cargo.lock generated
View File

@@ -110,6 +110,27 @@ dependencies = [
"syn 1.0.96",
]
[[package]]
name = "async-stream"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e"
dependencies = [
"async-stream-impl",
"futures-core",
]
[[package]]
name = "async-stream-impl"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10f203db73a71dfa2fb6dd22763990fa26f3d2625a6da2da900d23b87d26be27"
dependencies = [
"proc-macro2 1.0.39",
"quote 1.0.18",
"syn 1.0.96",
]
[[package]]
name = "async-trait"
version = "0.1.56"
@@ -1017,6 +1038,7 @@ name = "embassy-os"
version = "0.3.1"
dependencies = [
"aes",
"async-stream",
"async-trait",
"avahi-sys",
"base32",