Merge branch 'stable-2.15'
* stable-2.15:
AbstractElasticIndex: fix index name of delete request and add coverage
Bazel: Remove unused commons-lang3
DropWizardMetricMaker: Move sanitizeMetricName to MetricMaker base class
Update git submodules
Update git submodules
Update git submodules
AsciiDoctor: Format with google-java-format version 1.6
Enable metrics for core queues
WorkQueue: Add possibility to enable metrics
Change I7af2f9f6c ("Bazel: Remove unused commons-lang3") is reverted by
this merge since commons-lang3 is actually still used on master.
This reverts commit 589af813cc.
Change-Id: I5ea8c03d27e7eaefd0067658b25d1c08efdfd0f4
This commit is contained in:
@@ -47,7 +47,7 @@ public class SysExecutorModule extends AbstractModule {
|
||||
int poolSize =
|
||||
config.getInt(
|
||||
"receive", null, "threadPoolSize", Runtime.getRuntime().availableProcessors());
|
||||
return queues.createQueue(poolSize, "ReceiveCommits");
|
||||
return queues.createQueue(poolSize, "ReceiveCommits", true);
|
||||
}
|
||||
|
||||
@Provides
|
||||
@@ -59,7 +59,7 @@ public class SysExecutorModule extends AbstractModule {
|
||||
if (poolSize == 0) {
|
||||
return MoreExecutors.newDirectExecutorService();
|
||||
}
|
||||
return queues.createQueue(poolSize, "SendEmail");
|
||||
return queues.createQueue(poolSize, "SendEmail", true);
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
||||
Reference in New Issue
Block a user