From 6b7b59acff41f5069e42e44d1b56246b8a74e5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=A5=E7=BE=8A?= Date: Wed, 31 Jul 2024 03:49:57 +0800 Subject: [PATCH] fix Sync.Map --- Golang/liveurls/itv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Golang/liveurls/itv.go b/Golang/liveurls/itv.go index 1bba60b..dcd1fba 100644 --- a/Golang/liveurls/itv.go +++ b/Golang/liveurls/itv.go @@ -215,7 +215,7 @@ var ( } dnsCache = sync.Map{} - cacheTimeout = 1 * time.Minute + cacheTimeout = 1 * time.Millisecond ) type cacheEntry struct {