promote inbox message to a shared type
This commit is contained in:
+2
-2
@@ -407,7 +407,7 @@ func RunForwarder(
|
||||
id string,
|
||||
ctx context.Context,
|
||||
messages <-chan types.ReceivedMessage,
|
||||
inbox chan<- InboxMessage,
|
||||
inbox chan<- types.InboxMessage,
|
||||
workerProcessedCount *atomic.Uint64,
|
||||
poolInboxCount *atomic.Uint64,
|
||||
) {
|
||||
@@ -423,7 +423,7 @@ func RunForwarder(
|
||||
case <-ctx.Done():
|
||||
return
|
||||
|
||||
case inbox <- InboxMessage{
|
||||
case inbox <- types.InboxMessage{
|
||||
ID: id,
|
||||
Data: msg.Data,
|
||||
ReceivedAt: msg.ReceivedAt,
|
||||
|
||||
Reference in New Issue
Block a user