v0.3.14-pre.009-fix.002

This commit is contained in:
2026-09-12 13:04:49 +02:00
parent c884ce88ba
commit 792560191c
3 changed files with 144 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-worker-raw-transaction-ingest-lib/src/snapshot.rs
// version: 7
// version: 8
/// Runtime-neutral boxed future resolving to one newer concrete RAW transaction ingest Worker snapshot.
pub type RawTransactionIngestSnapshotFuture<'a> =
@@ -873,7 +873,7 @@ fn health_for_state(
{
return ksp_worker_api::WorkerHealth::Unhealthy;
}
if source_total > 0 && source_active == source_total {
if source_total > 0 && snapshot.source_active == snapshot.source_total {
return ksp_worker_api::WorkerHealth::Healthy;
}
if source_total > 0