GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — feat(pubsub): Add Publisher Flow Control by quartzmo · Pull Request #11383 · googleapis/google-cloud-ruby Conversation
|
|
@plamut PTAL if you have time, thank you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't really know Ruby code and tis common idioms, thus mostly just focused on the bigger picture - it looks good IMO! I like the queue of events so that only a single thread is woken up when a message gets released from the flow control.
I might have missed it, but I don't think we release messages when a random network (or other) error happens, please double check (and add a test or two, if needed).
The rest are mostly remarks/suggestions about making the tests more resilient.
(again, apologies for the noise in advance in case I misunderstood the code 🙂 )
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@plamut Thank you for all these great suggestions! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@plamut PR updated for all your comment, thank you! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
From what I can see and understand, I'd say it looks good now, thanks for applying the suggestions.
I trust that the code is idiomatic ruby, and that rubocop thing did not complain. 🤣
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
09026b6 to
5813555
Compare
5813555 to
f7ce29a
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'd say this is looking good!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looks good IMO, but again, I'm not fluent in Ruby. :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@kamalaboulhosn PTAL when you have a chance, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.