Skip to content

Commit 2ba7c47

Browse files
authored
Merge pull request #306 from rendyu/patch-1
Update RedisObjectCacheStrategy.cs
2 parents 6fe4908 + 8823a84 commit 2ba7c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Senparc.CO2NET.Cache.Redis/ObjectCacheStrategy/RedisObjectCacheStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ public override Task<long> GetCountAsync()
346346
}
347347
public override Task<long> GetCountAsync(string prefix)
348348
{
349-
return Task.Factory.StartNew(() => GetCount(""));
349+
return Task.Factory.StartNew(() => GetCount(prefix));
350350
}
351351

352352
public override async Task SetAsync(string key, object value, TimeSpan? expiry = null, bool isFullKey = false)

0 commit comments

Comments
 (0)