Changeset 16421fa


Ignore:
Timestamp:
Feb 25, 2019 3:58:29 PM (18 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
566df1c
Parents:
3c911ee
Message:

NTCP: Fix number of SendFinisher? threads (ticket #2438)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/ntcp/NTCPSendFinisher.java

    r3c911ee r16421fa  
    6969        public CustomThreadPoolExecutor(int num) {
    7070             // use unbounded queue, so maximumPoolSize and keepAliveTime have no effect
    71              super(MIN_THREADS, num, 10*1000, TimeUnit.MILLISECONDS,
     71             super(num, num, 10*1000, TimeUnit.MILLISECONDS,
    7272                   new LinkedBlockingQueue<Runnable>(), new CustomThreadFactory());
    7373        }
Note: See TracChangeset for help on using the changeset viewer.