···4646 if new_url.path().contains("containers/json") {
4747 let _list_span = span!(Level::DEBUG, "Container List").entered();
48484949- let containers = &res.json::<Vec<ContainerSummary>>().await.unwrap();
4949+ let container_res = &res.json::<Vec<ContainerSummary>>()
5050+ // 2mb in bytes
5151+ .limit(2097152).await;
5252+5353+ let containers = match container_res {
5454+ Ok(list_res) => {
5555+ list_res
5656+ }
5757+ Err(e) => {
5858+ panic!("{e}");
5959+ }
6060+ };
50615162 // filter all containers to only those that have values from CONTAINER_NAMES includes in their names
5263 let filtered_containers = containers.into_iter()