Observe retained snapshot transport health

This commit is contained in:
Meta Vens 2026-07-12 11:13:19 +01:00
commit 0e4c5f9bf3

View file

@ -105,7 +105,8 @@ namespace GameCult.Mesh
await CultMesh.WaitForSnapshotClientConnectionAsync(
_client,
_endpoint,
_defaults.ConnectTimeout)
_defaults.ConnectTimeout,
(_client as ICultNetSchemaClientHealth)?.BackgroundFailure)
.ConfigureAwait(false);
var options = CultMesh.CloneSnapshotRequestOptions(_defaults);
options.SchemaIds = schemaIds ?? options.SchemaIds;
@ -130,7 +131,8 @@ namespace GameCult.Mesh
completion.Task,
_endpoint,
options,
messageId)
messageId,
(_client as ICultNetSchemaClientHealth)?.BackgroundFailure)
.ConfigureAwait(false);
}
finally