mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 08:37:10 +08:00
fix: revalidate cache of getter
This commit is contained in:
@@ -40,7 +40,7 @@ func Test_CloudflareKV_Get(t *testing.T) {
|
||||
|
||||
result, err := testStore.Get(key)
|
||||
|
||||
for {
|
||||
for i := 0; i < 2; i++ {
|
||||
result, err = testStore.Get(key)
|
||||
if bytes.NewBuffer(result).String() == "" {
|
||||
_ = testStore.Set(key, val, 0)
|
||||
|
Reference in New Issue
Block a user