collapse queue/forwarder path: reader writes directly to pool inbox

This commit is contained in:
Jay
2026-05-20 08:37:44 -04:00
parent 8c7e3c3ee6
commit ba5484e0dd
5 changed files with 38 additions and 119 deletions
-2
View File
@@ -40,8 +40,6 @@ func makeWorker(t *testing.T, ctx context.Context, cancel context.CancelFunc) *D
id: "wss://test",
config: config,
heartbeat: make(chan struct{}),
toQueue: make(chan types.ReceivedMessage, 256),
toForwarder: make(chan types.ReceivedMessage, 256),
processedCount: &atomic.Uint64{},
droppedCount: &atomic.Uint64{},
outgoingCount: &atomic.Uint64{},