From 669961e496bb2cce0972b550beb654270480540f Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sat, 25 Jun 2022 12:42:52 +0800 Subject: [PATCH] fix: proxy provider force update on init --- adapter/provider/fetcher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/adapter/provider/fetcher.go b/adapter/provider/fetcher.go index 47b364e6..07fb1237 100644 --- a/adapter/provider/fetcher.go +++ b/adapter/provider/fetcher.go @@ -202,6 +202,7 @@ func newFetcher[V any](name string, interval time.Duration, vehicle types.Vehicl parser: parser, done: make(chan struct{}, 1), onUpdate: onUpdate, + interval: interval, } }