mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
add issue number
This commit is contained in:
parent
acd02709c7
commit
687f06e107
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import (
|
||||||
const lookupCacheValidity = 30 * time.Second
|
const lookupCacheValidity = 30 * time.Second
|
||||||
const defaultPagesRepo = "pages"
|
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)
|
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.
|
// GetTargetFromDNS searches for CNAME or TXT entries on the request domain ending with MainDomainSuffix.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue