Skip to content

Make stream.rs constants configurable #7304

@tolbrino

Description

@tolbrino

There is a TODO in the file transport/protocol/src/stream.rs that suggests evaluating whether the following constants should be made configurable:

// TODO: see if these constants should be configurable instead
const GLOBAL_STREAM_OPEN_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(2);
const MAX_CONCURRENT_PACKETS: usize = 10;

It was introduced in #7255
Please assess whether these constants should be exposed as configurable parameters rather than hardcoded values.

Direct code reference:

// TODO: see if these constants should be configurable instead

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions