refactor: consolidate config keys and cache TTL constants

- Move caaEnabledKey and uguuEnabledKey to main.go config const block
- Extract uguu cache TTL magic number (9000) to named constant
- Add 5s timeout to CAA HEAD requests
This commit is contained in:
deluan
2026-03-20 20:00:19 -04:00
parent 40be06fee5
commit 6ed2c2ce45
3 changed files with 10 additions and 10 deletions
+2
View File
@@ -29,6 +29,8 @@ const (
usersKey = "users"
activityNameKey = "activityname"
spotifyLinksKey = "spotifylinks"
caaEnabledKey = "caaenabled"
uguuEnabledKey = "uguuenabled"
)
const (