From 61554badfce1343557cec0ccf3d1b79343c3db68 Mon Sep 17 00:00:00 2001 From: Barry Deen Date: Fri, 6 Sep 2024 13:30:29 -0400 Subject: [PATCH] refresh every 10 mins --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 0d46fc5..ab32ba1 100644 --- a/main.go +++ b/main.go @@ -114,7 +114,7 @@ func getEnv(key string) string { func refreshTrustNetwork(relay *khatru.Relay) []string { ctx := context.Background() - ticker := time.NewTicker(1 * time.Hour) + ticker := time.NewTicker(10 * time.Minute) for range ticker.C { timeoutCtx, cancel := context.WithTimeout(ctx, 1*time.Second)