Skip to content

Added contents of triggering message to signal_queue_size_change#46

Open
tsaubergine wants to merge 1 commit into2.1from
2.1-queue-size-add-encoded-message
Open

Added contents of triggering message to signal_queue_size_change#46
tsaubergine wants to merge 1 commit into2.1from
2.1-queue-size-add-encoded-message

Conversation

@tsaubergine
Copy link
Copy Markdown
Member

Add the DCCL message that triggers the queue size change, if one exists. For a shrinking queue this is the message that was just popped, for a growing queue this is the message that was just pushed.

Rather than modify the signature of signal_queue_size_changed, I added this as an additional optional field to the QueueSize message.

@glgrobe Could you please review and see if this fits your needs.

This block of the Queue3 unit test shows how to extract the encoded message:
https://github.com/GobySoft/goby/compare/2.1-queue-size-add-encoded-message?expand=1#diff-0846765b1bb6e76a7fed8bdf73a334e9R203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant