/ 详情

TaskManager创建默认队列名字重复问题

Done
owner
Opened this issue  
2016-11-23 13:38
  1. 打印日志重复
  2. 取参的名字重复

// 构建队列
final String downloadQueueName = params.getString("queue.download.name", "SPIDERMAN_DOWNLOAD_TASK");
this.downloadQueue = queueBuilder.build(downloadQueueName, params);
logger.debug("创建下载队列(默认)"); 
final String extractQueueName = params.getString("queue.download.name", "SPIDERMAN_EXTRACT_TASK");
this.extractQueue = queueBuilder.build(extractQueueName, params);
logger.debug("创建下载队列(默认)");
final String resultQueueName = params.getString("queue.download.name", "SPIDERMAN_RESULT_TASK");
this.resultQueue = queueBuilder.build(resultQueueName, params);
logger.debug("创建结果队列(默认)");

Comments (2)

Status changed to closed

Sign in to comment

状态
Assignees
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
117 l weiwei 1578913730