diff options
Diffstat (limited to 'plugin/cache/cache.go')
-rw-r--r-- | plugin/cache/cache.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/cache/cache.go b/plugin/cache/cache.go index 43a40c409..6b50c51cc 100644 --- a/plugin/cache/cache.go +++ b/plugin/cache/cache.go @@ -36,6 +36,8 @@ type Cache struct { duration time.Duration percentage int + staleUpTo time.Duration + // Testing. now func() time.Time } |