Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
changes:
- section: "Bugs Fixed"
description: "Fix incorrect SignalR caching"
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ public async Task<IEnumerable<Runtime>> GetRuntimeAsync(
{
runtimes.Add(ConvertToRuntimeModel(runtime));
}

await _cacheService.SetAsync(CacheGroup, cacheKey, signalRName, s_cacheDuration, cancellationToken);
}
Comment thread
alzimmermsft marked this conversation as resolved.

await _cacheService.SetAsync(CacheGroup, cacheKey, runtimes, s_cacheDuration, cancellationToken);
}
else
{
Expand Down Expand Up @@ -106,7 +106,7 @@ public async Task<IEnumerable<Runtime>> GetRuntimeAsync(
}

runtimes.Add(ConvertToRuntimeModel(signalRResource.Value));
await _cacheService.SetAsync(CacheGroup, cacheKey, signalRName, s_cacheDuration, cancellationToken);
await _cacheService.SetAsync(CacheGroup, cacheKey, runtimes, s_cacheDuration, cancellationToken);
}

Comment thread
xiangyan99 marked this conversation as resolved.
return runtimes;
Expand Down