You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "traeak (via GitHub)" <gi...@apache.org> on 2023/02/10 13:35:44 UTC
[GitHub] [trafficcontrol] traeak commented on a diff in pull request #7346: t3c remove stale git lock file
traeak commented on code in PR #7346:
URL: https://github.com/apache/trafficcontrol/pull/7346#discussion_r1102774864
##########
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:
can you comment on the time units or put them in the variable name? Might be a pet peeve of mine.
--
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