Skip to content

[Feature]: 流式输出目前是同步情况,会导致其他接口阻塞 #83

@NominationP

Description

@NominationP

您的功能建议是否与某个问题相关?

this.okHttpClient = okHttpClientBuilder.build();

描述您期望的解决方案

// 确认 OkHttpClient 是否配置了 Dispatcher(异步模式)
OkHttpClient okHttpClient = new OkHttpClient.Builder()
.dispatcher(new Dispatcher(Executors.newFixedThreadPool(32))) // 异步需要显式配置
.build();

描述您考虑过的替代方案

No response

补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinvalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions