Jens Geyer created THRIFT-6287:
----------------------------------

             Summary: Rust: max_container_size defaults to no limit
                 Key: THRIFT-6287
                 URL: https://issues.apache.org/jira/browse/THRIFT-6287
             Project: Thrift
          Issue Type: Improvement
          Components: Rust - Library
            Reporter: Jens Geyer


{{lib/rs/src/configuration.rs}} defines {{DEFAULT_CONTAINER_LIMIT = None}}, so 
{{max_container_size}} is present in the configuration but inert unless a 
caller sets it explicitly. The other bindings that expose a container-size knob 
vary in their default, and Rust's is off.

h2. Suggested

Consider giving {{max_container_size}} a finite default. That is a behavioural 
change for existing users, so it belongs in normal review rather than a 
drive-by change.

_Drafted with AI assistance (Claude Opus 4.8); reviewed and filed by Jens 
Geyer._




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to