Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
fixup! Change image cache expiry to adaptive scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
squaremo committed Sep 12, 2018
1 parent 23448bb commit 249a30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/cache/memcached/memcached_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestMemcache_ExpiryReadWrite(t *testing.T) {
}, strings.Fields(*memcachedIPs)...)

// Set some dummy data
now := time.Now()
now := time.Now().Round(time.Second)
err := mc.SetKey(key, now, val)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 249a30a

Please sign in to comment.