From 687f06e107b789f486c9cd9c840c97802dfdb0b5 Mon Sep 17 00:00:00 2001 From: crapStone Date: Sat, 27 Apr 2024 22:18:35 +0200 Subject: [PATCH] add issue number --- server/dns/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/dns/dns.go b/server/dns/dns.go index f6ce4bb..e73f70c 100644 --- a/server/dns/dns.go +++ b/server/dns/dns.go @@ -11,7 +11,7 @@ import ( const lookupCacheValidity = 30 * time.Second const defaultPagesRepo = "pages" -// TODO(): refactor to not use global variables +// TODO(#316): refactor to not use global variables var lookupCache *expirable.LRU[string, string] = expirable.NewLRU[string, string](4096, nil, lookupCacheValidity) // GetTargetFromDNS searches for CNAME or TXT entries on the request domain ending with MainDomainSuffix.