Skip to content

Commit de973fe

Browse files
committed
Add missing validation call for concurrent_component_streaming_buffer_size
Wire up validate_concurrent_component_streaming_buffer_size in setup_config_values to ensure config.concurrent_component_streaming_buffer_size is validated at initialization time. Without this call, invalid values (nil, 0, negative numbers) would be silently accepted and cause runtime errors later when Async::LimitedQueue is instantiated. Addresses CodeRabbit feedback on the original PR.
1 parent a174d92 commit de973fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

react_on_rails_pro/lib/react_on_rails_pro/configuration.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def setup_config_values
118118
validate_remote_bundle_cache_adapter
119119
setup_renderer_password
120120
setup_assets_to_copy
121+
validate_concurrent_component_streaming_buffer_size
121122
setup_execjs_profiler_if_needed
122123
check_react_on_rails_support_for_rsc
123124
end

0 commit comments

Comments
 (0)