Handle evictions properly when cache is empty.

This commit is contained in:
2023-08-27 18:01:16 -07:00
parent 6fbdece4be
commit b92e16fa4d
4 changed files with 23 additions and 10 deletions

2
go.sum Normal file
View File

@@ -0,0 +1,2 @@
github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o=
github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=