Changeset 10408 in josm for trunk/src/org


Ignore:
Timestamp:
2016-06-16T22:20:00+02:00 (8 years ago)
Author:
wiktorn
Message:

Set core pool size to 1, so minimum number of thread can be 1.

Closes: #12971

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java

    r10378 r10408  
    7272
    7373    private static final ThreadPoolExecutor DEFAULT_DOWNLOAD_JOB_DISPATCHER = new ThreadPoolExecutor(
    74             2, // we have a small queue, so threads will be quickly started (threads are started only, when queue is full)
     74            1, // we have a small queue, so threads will be quickly started (threads are started only, when queue is full)
    7575            THREAD_LIMIT.get(), // do not this number of threads
    7676            30, // keepalive for thread
Note: See TracChangeset for help on using the changeset viewer.