From e05835493f821055e517a3988c6f9256abbc5c24 Mon Sep 17 00:00:00 2001 From: radhitya Date: Sun, 14 Jun 2026 22:24:54 +0700 Subject: fix block domain --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index afb41c2..70b5c0e 100644 --- a/main.go +++ b/main.go @@ -3,6 +3,7 @@ package main import ( "context" "log/slog" + "time" "os" "os/signal" "path/filepath" @@ -45,7 +46,8 @@ func main() { logger.Info("config loaded", "file", flags.Config) r := resolver.New( - resolver.WithTimeout(2 * 1000 * 1000 * 1000),) + resolver.WithTimeout(2 * time.Second), + ) c, err := cache.NewCache(cfg.Cache.MaxEntries, cfg.Cache.DBPath) if err != nil { -- cgit v1.2.3