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:
Shawn Pearce
2014-03-28 11:16:53 -07:00
parent 931562c2ab
commit 10f0274411

View File

@@ -36,7 +36,7 @@ public class MergeabilityChecksExecutorModule extends AbstractModule {
@GerritServerConfig Config config, @GerritServerConfig Config config,
WorkQueue queues) { WorkQueue queues) {
int poolSize = config.getInt("changeMerge", null, "threadPoolSize", 1); int poolSize = config.getInt("changeMerge", null, "threadPoolSize", 1);
return queues.createQueue(poolSize, "MergeabilityChecks"); return queues.createQueue(poolSize, "MergeabilityChecks-Background");
} }
@Provides @Provides
@@ -52,6 +52,6 @@ public class MergeabilityChecksExecutorModule extends AbstractModule {
if (poolSize <= 0) { if (poolSize <= 0) {
return backgroundExecutor; return backgroundExecutor;
} }
return queues.createQueue(poolSize, "InteractiveMergeabilityChecks"); return queues.createQueue(poolSize, "MergeabilityChecks-Interactive");
} }
} }