mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Remove temporary variable in DNS queue logging
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=165181338
This commit is contained in:
parent
00f2662f33
commit
f408833a72
1 changed files with 1 additions and 2 deletions
|
@ -77,10 +77,9 @@ public class DnsQueue {
|
||||||
* Enqueues the given task type with the given target name to the DNS queue.
|
* Enqueues the given task type with the given target name to the DNS queue.
|
||||||
*/
|
*/
|
||||||
private TaskHandle addToQueue(TargetType targetType, String targetName, String tld) {
|
private TaskHandle addToQueue(TargetType targetType, String targetName, String tld) {
|
||||||
int numTasks = queue.fetchStatistics().getNumTasks();
|
|
||||||
logger.infofmt(
|
logger.infofmt(
|
||||||
"Adding task type=%s, target=%s, tld=%s to pull queue %s (%d tasks currently on queue)",
|
"Adding task type=%s, target=%s, tld=%s to pull queue %s (%d tasks currently on queue)",
|
||||||
targetType, targetName, tld, DNS_PULL_QUEUE_NAME, numTasks);
|
targetType, targetName, tld, DNS_PULL_QUEUE_NAME, queue.fetchStatistics().getNumTasks());
|
||||||
return queue.add(TaskOptions.Builder
|
return queue.add(TaskOptions.Builder
|
||||||
.withDefaults()
|
.withDefaults()
|
||||||
.method(Method.PULL)
|
.method(Method.PULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue