2022-03-21 Dubbo 默认线程池的线程数量为200





对应java类 ProtocolConfig:

public class ProtocolConfig extends AbstractConfig {

    private static final long serialVersionUID = 6913423882496634749L;

    // protocol name
    private String name;

    // service IP address (when there are multiple network cards available)
    private String host;

    // service port
    private Integer port;

    // context path
    private String contextpath;

    // thread pool
    private String threadpool;

    // thread pool size (fixed size)
    private Integer threads;

    // IO thread pool size (fixed size)
    private Integer iothreads;

    // thread pool's queue length
    private Integer queues;

......

Fixed对应FixedThreadPool


图片.png

你可能感兴趣的:(2022-03-21 Dubbo 默认线程池的线程数量为200)