GithubHelp home page GithubHelp logo

DefaultApacheHttpClientBuilder.java 这个在实际生产环境中会导致大量的thread导致机器使用完线程死机 about wxjava HOT 8 CLOSED

wechat-group avatar wechat-group commented on May 20, 2024
DefaultApacheHttpClientBuilder.java 这个在实际生产环境中会导致大量的thread导致机器使用完线程死机

from wxjava.

Comments (8)

binarywang avatar binarywang commented on May 20, 2024

@hacken2006 非常感谢提出这个问题,我们开发组会核实并想办法修复此问题的,如果有可能,你也可以加入,帮忙共同完善代码。

from wxjava.

hacken2006 avatar hacken2006 commented on May 20, 2024

我的问题已经按上面的方式解决,这是前面几位出现宕机的根本原因,不是简单的sockettime问题

from wxjava.

binarywang avatar binarywang commented on May 20, 2024

@hacken2006 仔细看了下代码,没太看明白你的意思,请明示一下?觉得出现“不停的加载创建thread”的问题,或许跟你使用的方式有关系,你是如何使用相关接口代码的?

from wxjava.

bysunexus avatar bysunexus commented on May 20, 2024

@hacken2006 麻烦问下在项目中me.chanjar.weixin.mp.api.impl.WxMpServiceImpl这个类是保持单例了么

from wxjava.

hacken2006 avatar hacken2006 commented on May 20, 2024

多个应用 共用TOKEN,不可能单例

from wxjava.

binarywang avatar binarywang commented on May 20, 2024

@hacken2006 多个应用共用token是什么意思,保持单例会有什么问题,能否稍微展开说明一下?

from wxjava.

bysunexus avatar bysunexus commented on May 20, 2024

@hacken2006 看了一下代码确实会有问题 我提交pr将prepare()方法修改到构造中执行
感谢反馈问题

如果有时间您也可以提交pr一起来维护本项目

from wxjava.

bysunexus avatar bysunexus commented on May 20, 2024

prepare()方法修改到构造中将会导致,set到本类的属性失效.
现在将prepare调整为同步执行

from wxjava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.