fix: close stream adaptive gaps and switch notify to stario v0.1.1
- make stream fast path honor adaptive soft payload limits end-to-end - split oversized fast-stream payloads into sequential frames before batching - use adaptive soft cap when encoding stream batch payloads - move timeout-like error detection into production code for adaptive tx - tune notify FrameReader read size explicitly to avoid throughput regression - drop local stario replace and depend on released b612.me/stario v0.1.1
This commit is contained in:
+10
-1
@@ -59,6 +59,11 @@ type DiagnosticsSummary struct {
|
||||
LogicalCount int
|
||||
CurrentTransportCount int
|
||||
|
||||
BulkAttachAttempts int64
|
||||
BulkAttachRetries int64
|
||||
BulkAttachSuccess int64
|
||||
BulkAutoFallbacks int64
|
||||
|
||||
StreamCount int
|
||||
ActiveStreamCount int
|
||||
StaleStreamCount int
|
||||
@@ -236,7 +241,11 @@ func serverCurrentTransportRuntimeSnapshots(s Server) ([]TransportConnRuntimeSna
|
||||
|
||||
func summarizeClientDiagnosticsSnapshot(snapshot ClientDiagnosticsSnapshot) DiagnosticsSummary {
|
||||
summary := DiagnosticsSummary{
|
||||
LogicalCount: diagnosticsLogicalCountFromClientRuntime(snapshot.Runtime),
|
||||
LogicalCount: diagnosticsLogicalCountFromClientRuntime(snapshot.Runtime),
|
||||
BulkAttachAttempts: snapshot.Runtime.BulkAttachAttempts,
|
||||
BulkAttachRetries: snapshot.Runtime.BulkAttachRetries,
|
||||
BulkAttachSuccess: snapshot.Runtime.BulkAttachSuccess,
|
||||
BulkAutoFallbacks: snapshot.Runtime.BulkAutoFallbacks,
|
||||
}
|
||||
if snapshot.Runtime.TransportAttached {
|
||||
summary.CurrentTransportCount = 1
|
||||
|
||||
Reference in New Issue
Block a user