mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-21 11:40:01 +00:00
increased thread pool size for getLeaderboardByName future execution to 10xCPUs
This commit is contained in:
1 parent
6aedfcd21c
commit
592bf02292
1 file changed
+1
-1
+1
-1
@@ -289,7 +289,7 @@ public class SailingServiceImpl extends RemoteServiceServlet implements SailingS
|
||||
swissTimingFactory = SwissTimingFactory.INSTANCE;
|
||||
countryCodeFactory = com.sap.sailing.domain.common.CountryCodeFactory.INSTANCE;
|
||||
executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
|
||||
computeLeadearboardByNameExecutor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
|
||||
computeLeadearboardByNameExecutor = Executors.newFixedThreadPool(10*Runtime.getRuntime().availableProcessors());
|
||||
raceDetailsExecutor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
|
||||
leaderboardByNameCache = new LinkedHashMap<Triple<String,Date,Collection<String>>, FutureTask<LeaderboardDTO>>() {
|
||||
private static final long serialVersionUID = 3775119859130148488L;
|
||||
|
||||
Reference in new issue
Block a user