DefaultPartHttpMessageReader should not instantiate Reactor Scheduler eagerly #33218
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
A Spring for GraphQL application may initialize and use a
CodecConfigurer
for small (de)-serialization needs such as turning pagination cursors to a string, usually via JSON. This is done via codecs for both Spring MVC and WebFlux as the transport to keep the configuration model .This works fine except when
CodecConfigurer
is created,DefaultPartHttpMessageConverter
creates anewBounded
scheduler at constructor time, which can be surprising, and in this scenario no multipart reading will be done. We can initializer the scheduler lazily at runtime.The text was updated successfully, but these errors were encountered: