Skip to content

Commit

Permalink
Containers: wait for up/down streams to finish resolving the connectI…
Browse files Browse the repository at this point in the history
…mpl promise

@kenton suggested adding this line to fix the issues we were finding
with the containers integration.
  • Loading branch information
gabivlj committed Jan 30, 2025
1 parent 25d93b7 commit ea37a9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workerd/api/container.c++
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class Container::TcpPortWorkerInterface final: public WorkerInterface {
});

co_await pipeline.ignoreResult();
co_await kj::joinPromisesFailFast(kj::arr(kj::mv(upPumpTask), kj::mv(downPumpTask)));
}
};

Expand Down

0 comments on commit ea37a9d

Please sign in to comment.