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

[GitHub] [trafficcontrol] jpappa200 commented on a diff in pull request #7346: t3c remove stale git lock file

jpappa200 commented on code in PR #7346:
URL: https://github.com/apache/trafficcontrol/pull/7346#discussion_r1102816910


##########
cache-config/t3c-apply/t3c-apply.go:
##########
@@ -146,6 +146,19 @@ func Main() int {
 	}
 
 	if cfg.UseGit == config.UseGitYes || cfg.UseGit == config.UseGitAuto {
+		//need to see if there is an old lock file laying around.
+		const gitMaxLockAge = 5

Review Comment:
   Added comment and time units to variable name.



-- 
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