From 297865623a18c04330fbf109c519ac2fa2617e89 Mon Sep 17 00:00:00 2001 From: odboy Date: Sat, 9 Nov 2024 21:22:25 +0800 Subject: [PATCH] feat: sync cache --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ae8a266..47e8be7 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import ( func main() { fmt.Println("[app] [info] " + time.Now().Format(config.AppTimeFormat) + " kenaito-dns version = " + config.AppVersion) - go cache.ReloadCache() + cache.ReloadCache() go initDNSServer() initRestfulServer() }