You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -356,16 +371,27 @@ public override async Task<ResourceElement> GetMetadata(CancellationToken cancel
356
371
}
357
372
358
373
// There is a chance that the BackgroundLoop handler sets _metadata to null between when it is checked and returned, so the value is stored in a local variable.
// The semaphore is only used for building the metadata because claiming it before the GetCapabilityStatementOnStartup was leading to deadlocks where the creation
366
383
// of metadata could trigger a rebuild. The rebuild handler had to wait on the metadata semaphore, which wouldn't be released until the metadata could be built.
367
384
// But the metadata builder was waiting on the rebuild handler.
_logger.LogWarning(e,"Failed to update Capability Statement.");
417
-
throw;
418
-
}
419
-
finally
420
-
{
421
-
_logger.LogInformation("SystemConformanceProvider: Updating the metadata with '{ProviderName}' completed. Elapsed time {ElapsedTime}.",provider.ToString(),watch.Elapsed);
Copy file name to clipboardExpand all lines: src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Conformance/InstantiatesCapabilityProviderTests.cs
0 commit comments