Chris Smith

Results 136 comments of Chris Smith

I'm not sure if this helps, but here is where retry with backoff is implemented for the generated gRPC clients in google-cloud-ruby: https://github.com/googleapis/gapic-generator-ruby/blob/master/gapic-common/lib/gapic/call_options/retry_policy.rb

@Fonsan Thank you for your patience with this request! I finally got the chance today to run https://github.com/Fonsan/gcs_stream_upload and the examples work for me.

@Fonsan Can you see a backward-compatible way to add [this functionality](https://github.com/Fonsan/gcs_stream_upload/blob/v0.1.0/lib/gcs_stream_upload.rb#L5-L26) to googleapis/google-api-ruby-client? I think that might be the first step toward incorporating it into google-cloud-storage. Even then, however, I'm...

> Is there a specific reason why google-api-ruby-client could not be extended to allow for IO objects that do not respond to size? Should this conversation be moved to a...

@Fonsan If it's OK with you, I will [transfer this issue](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to googleapis/google-api-ruby-client for further discussion.

@blowmage Any comment on this? > Is there a specific reason why google-api-ruby-client could not be extended to allow for IO objects that do not respond to size?

> quartzmo transferred this issue from googleapis/google-cloud-ruby on Jan 29, 2019

@codyoss I looked for an internal bug but could not find any. I think we just need to handle the breaking change.

Thanks for submitting this. Can you please give me some environment info? Bundler, Ruby, and Rails versions? And just in case: Does "bundle exec rails server" help by any chance?

I'm sorry, I tried to reproduce this by following your steps in a new Rails project, using nearly the same versions, but I could not. Here is my `bundle list`...