diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapillary/utils/MapillaryUtils.java b/src/main/java/org/openstreetmap/josm/plugins/mapillary/utils/MapillaryUtils.java
index 2547183f5..aa343797d 100644
|
a
|
b
|
public final class MapillaryUtils {
|
| 371 | 371 | public static synchronized ForkJoinPool getForkJoinPool(Class<?> clazz) { |
| 372 | 372 | ForkJoinPool pool = forkJoinPool.get(clazz.getSimpleName()); |
| 373 | 373 | if (pool == null || pool.isShutdown()) { |
| 374 | | pool = Utils.newForkJoinPool("mapillary.forkjoinpool", "mapillary-" + clazz.getSimpleName() + "-%d", 4); |
| | 374 | pool = Utils.newForkJoinPool("mapillary.forkjoinpool", "mapillary-" + clazz.getSimpleName() + "-%d", 2); |
| 375 | 375 | forkJoinPool.put(clazz.getSimpleName(), pool); |
| 376 | 376 | } |
| 377 | 377 | return pool; |