Rename the MergeabilityChecks worker queues
Dave Borowitz and I like these queue names better. Its easier to see the thread is for MergeabilityCheck and then which group. Change-Id: I598658740431911f4049d361f8b74bb7701a6703
This commit is contained in:
@@ -36,7 +36,7 @@ public class MergeabilityChecksExecutorModule extends AbstractModule {
|
||||
@GerritServerConfig Config config,
|
||||
WorkQueue queues) {
|
||||
int poolSize = config.getInt("changeMerge", null, "threadPoolSize", 1);
|
||||
return queues.createQueue(poolSize, "MergeabilityChecks");
|
||||
return queues.createQueue(poolSize, "MergeabilityChecks-Background");
|
||||
}
|
||||
|
||||
@Provides
|
||||
@@ -52,6 +52,6 @@ public class MergeabilityChecksExecutorModule extends AbstractModule {
|
||||
if (poolSize <= 0) {
|
||||
return backgroundExecutor;
|
||||
}
|
||||
return queues.createQueue(poolSize, "InteractiveMergeabilityChecks");
|
||||
return queues.createQueue(poolSize, "MergeabilityChecks-Interactive");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user