Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkouv committed Jul 15, 2024
1 parent 0a0ccdf commit 8e60c0e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ import (
)

var (
// shortLivedInMemLogsCacheExpiration is used for the short lived in meme logs cache. Value should not be set
// to a very high value as it is used to prevent frequent log fetching (e.g. in caller's a loop).
// shortLivedInMemLogsCacheExpiration is used for the short-lived in meme logs cache.
// Value should usually be set to just a few seconds, a larger duration will not increase performance and might
// cause performance issues on re-orged logs.
shortLivedInMemLogsCacheExpiration = 20 * time.Second
)

Expand Down

0 comments on commit 8e60c0e

Please sign in to comment.