Skip to content

Commit 4fa4562

Browse files
pashagolubMazen050
authored andcommitted
Update internal/sources/conn.go
Co-authored-by: Mazen Kamal <71020170+Mazen050@users.noreply.github.com>
1 parent c089431 commit 4fa4562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/sources/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func (md *SourceConn) FetchRuntimeInfo(ctx context.Context, forceRefetch bool) (
178178
return ctx.Err()
179179
}
180180

181-
if !forceRefetch && md.LastCheckedOn.After(time.Now().Add(time.Minute*-5)) { // use cached version for 2 min
181+
if !forceRefetch && md.LastCheckedOn.After(time.Now().Add(time.Minute*-5)) { // use cached version for 5 min
182182
return nil
183183
}
184184
switch md.Kind {

0 commit comments

Comments
 (0)