@@ -37,13 +37,12 @@
Loading
37 37
38 38
	private static final Log LOG = LogFactory.getLog(TaskExecutors.class);
39 39
40 -
	private static final int MAX_TASK = Runtime.getRuntime().availableProcessors() / 2;
41 -
42 -
	private static final int MAX_QUEUE = MAX_TASK * 10;
40 +
	private static final int MAX_TASKS_NUMBER = Integer.max(Runtime.getRuntime().availableProcessors() / 2, 2);
43 41
44 42
	private static final ExecutorService EXECS = new ThreadPoolExecutor(
45 -
			MAX_TASK, MAX_TASK, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>(MAX_QUEUE));
46 -
	
43 +
			MAX_TASKS_NUMBER, MAX_TASKS_NUMBER, 0L, TimeUnit.MILLISECONDS,
44 +
			new LinkedBlockingQueue<>(MAX_TASKS_NUMBER * 10));
45 +
47 46
	private static final Map<String, HeavyTask<?>> TASKS = new ConcurrentHashMap<>();
48 47
49 48
	/**
Files Coverage
src/main/java/com/rebuild 57.45%
Project Totals (250 files) 57.45%
626.1
TRAVIS_OS_NAME=linux
oraclejdk8=
1
coverage:
2
  range: "40...90"
3
  round: down
4
  precision: 2
5
  
6
  status:
7
    project: yes
8
    patch: no
9
    changes: no
10

11
ignore:
12
  - ".github/.*"
13
  - ".vscode/.*"
14
  - ".setup/.*"
15
  - ".production/.*"
16
  - "src/test/.*"
17
  - "src/main/webapp/.*"
18
  - "src/main/java/com/rebuild/web/.*"
19
  - ".*/.*Exception.java"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading