Fix: filterable provider should be touch

This commit is contained in:
Dreamacro 2023-05-28 14:12:03 +08:00
parent 369f2735a0
commit 289025c6ee
1 changed files with 3 additions and 0 deletions

View File

@ -300,6 +300,9 @@ func (fp *FilterableProvider) Proxies() []C.Proxy {
} }
func (fp *FilterableProvider) Touch() { func (fp *FilterableProvider) Touch() {
for _, provider := range fp.providers {
provider.Touch()
}
} }
func NewFilterableProvider(name string, providers []types.ProxyProvider, filterReg *regexp.Regexp) *FilterableProvider { func NewFilterableProvider(name string, providers []types.ProxyProvider, filterReg *regexp.Regexp) *FilterableProvider {