Skip to content

Commit bcbda90

Browse files
committed
remove comment on default cache timeout (maintenance smell)
1 parent 15264b2 commit bcbda90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/lib/search.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func versionsFromSearchedLibrary(library *rpc.SearchedLibrary) []*semver.Version
204204

205205
// indexNeedsUpdating returns whether library_index.json need updating.
206206
// A positive duration string must be provided to calculate the time threshold
207-
// used to update the index (default: +24 hours).
207+
// used to update the index.
208208
// Valid duration units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
209209
// Use a duration of 0 to always update the index.
210210
func indexNeedsUpdating(duration string) bool {

0 commit comments

Comments
 (0)