🐛 Fix set cache with group broken the cache
This commit is contained in:
parent
3824fba8e5
commit
95010e4188
@ -324,7 +324,6 @@ public class CacheServiceRedis : ICacheService
|
|||||||
public async Task<bool> SetWithGroupsAsync<T>(string key, T value, IEnumerable<string>? groups = null,
|
public async Task<bool> SetWithGroupsAsync<T>(string key, T value, IEnumerable<string>? groups = null,
|
||||||
TimeSpan? expiry = null)
|
TimeSpan? expiry = null)
|
||||||
{
|
{
|
||||||
key = $"{GlobalKeyPrefix}{key}";
|
|
||||||
// First, set the value in the cache
|
// First, set the value in the cache
|
||||||
var setResult = await SetAsync(key, value, expiry);
|
var setResult = await SetAsync(key, value, expiry);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user