如何配置客户端的多线程使用 not enough thread resource to execute sekiro request,please setup your custom thread pool
not enough thread resource to execute sekiro request,please setup your custom thread pool!! too many pending task submit,please setup your custom thread pool!! pending task size:166
看到一个参数是 HandlerThreadPool.setMaxWorkSize(n); 但是不知道在何时何地使用,
这个参数需要自己调整源码重新编译哈~
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: TEARS @.> 发送时间: 2024年1月29日 17:32 收件人: yint-tech/sekiro-open @.> 抄送: Subscribed @.***> 主题: Re: [yint-tech/sekiro-open] 如何配置客户端的多线程使用 not enough thread resource to execute sekiro request,please setup your custom thread pool (Issue #43)
not enough thread resource to execute sekiro request,please setup your custom thread pool!! too many pending task submit,please setup your custom thread pool!! pending task size:166
看到一个参数是 HandlerThreadPool.setMaxWorkSize(n); 但是不知道在何时何地使用,
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
没记错,这个错误应该是服务端抛出的?你确定一下?
没记错,这个错误应该是服务端抛出的?你确定一下?
是在 客户端中抛出的, https://github.com/yint-tech/sekiro-samples/tree/main/demo-java 我在这个代码里面添加了处理逻辑,运行之后看到的输出。
这个参数需要自己调整源码重新编译哈~ 发自我的iPhone … ------------------ 原始邮件 ------------------ 发件人: TEARS @.> 发送时间: 2024年1月29日 17:32 收件人: yint-tech/sekiro-open @.> 抄送: Subscribed @.> 主题: Re: [yint-tech/sekiro-open] 如何配置客户端的多线程使用 not enough thread resource to execute sekiro request,please setup your custom thread pool (Issue #43) not enough thread resource to execute sekiro request,please setup your custom thread pool!! too many pending task submit,please setup your custom thread pool!! pending task size:166 看到一个参数是 HandlerThreadPool.setMaxWorkSize(n); 但是不知道在何时何地使用, — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>
我看 sekiro-open 里面没有找到这个参数,我可以本地编译这个项目的。
https://sekiro.iinti.cn/sekiro-doc/03_sdks/02_java.html#%E5%AE%9A%E5%88%B6%E7%BA%BF%E7%A8%8B%E6%B1%A0
这个参数我是从这个文档这里看到的,但是不知道怎么使用。
这样啊?那你试试把上面的那个参数加大看看,或者把处理逻辑放在独立线程?
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: TEARS @.> 发送时间: 2024年1月30日 11:37 收件人: yint-tech/sekiro-open @.> 抄送: 李国宝 @.>, Comment @.> 主题: Re: [yint-tech/sekiro-open] 如何配置客户端的多线程使用 not enough thread resource to execute sekiro request,please setup your custom thread pool (Issue #43)
没记错,这个错误应该是服务端抛出的?你确定一下?
是在 客户端中抛出的, https://github.com/yint-tech/sekiro-samples/tree/main/demo-java 我在这个代码里面添加了处理逻辑,运行之后看到的输出。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
我是不是应该把这个参数放在 new SekiroClient 的前面调用?
是的,你可以先调整这个参数试试看。 如果还不行,建议自己维护一个线程池来处理了。
好的,谢谢了,