We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190431f commit 2d554ccCopy full SHA for 2d554cc
src/ServiceControl.Persistence.RavenDB/MemoryInformationRetriever.cs
@@ -31,7 +31,7 @@ record MemoryInformation
31
var httpResponse = await client.GetAsync("/admin/debug/memory/stats?includeThreads=false&includeMappings=false", cancellationToken);
32
var responseDto = JsonSerializer.Deserialize<ResponseDto>(await httpResponse.Content.ReadAsStringAsync(cancellationToken));
33
34
- return null == responseDto.MemoryInformation
+ return responseDto.MemoryInformation is null
35
? default
36
: (responseDto.MemoryInformation.IsHighDirty, responseDto.MemoryInformation.DirtyMemory);
37
}
0 commit comments