diff options
Diffstat (limited to 'internal/fetcher/channel.go')
-rw-r--r-- | internal/fetcher/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fetcher/channel.go b/internal/fetcher/channel.go index cadbab2..5dc84b4 100644 --- a/internal/fetcher/channel.go +++ b/internal/fetcher/channel.go @@ -25,7 +25,7 @@ type ChannelFetcher struct { func (i *ChannelFetcher) FetchIfNeeded( parent context.Context, ) (f FetchedFiles, updated bool, err error) { - ctx, cancel := context.WithTimeout(parent, i.Source.FetchTimeout) + ctx, cancel := context.WithTimeout(parent, i.Source.FetchTimeout.Duration) defer cancel() dest := i.DataPath |