OutgoingSessionPromise outgoing queue should be limited

Description

When data is sent to a remote domain, a server-to-server outgoing session promise is used to queue data, until a session is established. This establishment can take a long time (especially if something is wrong - a timeout can be lengthy). During that time, data is being queued.

This queue is currently unbounded, which can lead to heavy memory consumption. We've even seen out-of-memory exceptions caused by this.

The outbound queue should be limited.

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen