You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "srijeet0406 (via GitHub)" <gi...@apache.org> on 2023/07/10 16:20:46 UTC

[GitHub] [trafficcontrol] srijeet0406 commented on a diff in pull request #7622: Traffic Router DNS zone calculation optimizations

srijeet0406 commented on code in PR #7622:
URL: https://github.com/apache/trafficcontrol/pull/7622#discussion_r1258514922


##########
traffic_router/core/src/main/java/org/apache/traffic_control/traffic_router/core/edge/CacheRegister.java:
##########
@@ -140,14 +143,42 @@ public void setDeliveryServiceMatchers(final TreeSet<DeliveryServiceMatcher> mat
 		this.deliveryServiceMatchers = matchers;
 	}
 
+	private String getRequestName(final Request request) {

Review Comment:
   You're right, I could totally use the `getHostname()` method. Also, looks like it already strips out the trailing `.` for DNS requests.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org