Publisher not pushing immediately when single message is larger than maxBytes #279
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
🚨
This issue needs some love.
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Publisher immediately publishes a message that is exactly equal to
maxBytes
. Is there any particular reason why this is only done when there is an exact match (and then queued for sending later any way) rather than when it's bigger or equal?I have a PR ready for this.
Environment details
@google-cloud/pubsub
version: 0.20.1Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: